Skip to content

[META] Elasticsearch now requires Java 9 for compilation #8976

@jakelandis

Description

@jakelandis

As of elastic/elasticsearch#28071 , Elasticsearch requires Java9 to compile Elasticsearch.

This impacts some of Logstash's test which pulls from Elasticsearch source and builds it for the tests. Since Logstash is not quite ready for Java9 all of our builds have expectations on Java8, and any tests that build Elasticsearch from source are currently broken.

This includes X-Pack and the Elasticsearch output plugin , maybe more...

We have a couple options for how to fix our builds

  • keep building from source, just ensure Elasticsearch is built with Java 9. [1]
  • switch out builds to use the nightly snapshots instead of building from source.

Thoughts ?

[1] It seems that there is some support for this approach that could be leveraged: elastic/elasticsearch#28051

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions