Closed
Description
In 5.0.0 we upgraded the build system's java version to java 8 to accommodate the new requirements for running Elasticsearch in a testing environment. The build process for ES-Hadoop sets the source and target compatibility levels for java to 1.6
, but it seems that the compatibility levels for the Scala projects, namely elasticsearch-spark-13 and elasticsearch-spark-20 were not set, which leads to a Spark artifact that contains java code compiled to major version 50, and Scala code compiled to major version 52. The build needs to be modified to compile all Scala code in compatibility with java 6 and above.