Skip to content

Spark libraries in 5.0.0 are being compiled with major version 52 instead of 50 #892

Closed
@jbaiera

Description

@jbaiera

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions