Code Monkey home page Code Monkey logo

Comments (4)

nfsantos avatar nfsantos commented on May 27, 2024

I'm closing the issue because the problem is with the Elastic Cloud Extension UI, which is not currently able to parse version specifications like: java.version=17.

from elastiknn.

alexklibisz avatar alexklibisz commented on May 27, 2024

Very interesting! In case it helps further debug, here's the code that generates the properties file: https://github.com/alexklibisz/elastiknn/blob/main/project/ElasticsearchPluginPlugin.scala#L56-L64

I don't remember exactly, but I feel like I copied the java.version bit from their own gradle plugin: https://github.com/elastic/elasticsearch/blob/main/build-tools/src/main/java/org/elasticsearch/gradle/plugin/GeneratePluginPropertiesTask.java#L98

from elastiknn.

nfsantos avatar nfsantos commented on May 27, 2024

The support engineers of Elastic admitted that it was a bug on their side. I will try to manually set the value of java.version to 1.8 and repackage the plugin, to see if I can get it to work while waiting for a fix on their side.

The version policy of Elastic Cloud is very restrictive, it only allows deploying the latest patch release of a minor branch, so I can no longer deploy 8.4.2 while waiting for a fix to the java.version issue. Hopefully, setting java.version to 1.8 will work as a workaround.

from elastiknn.

nfsantos avatar nfsantos commented on May 27, 2024

For reference, the problem is due to an issue of the Elastic Cloud extensions UI in reading the size of the zip containing the extension. The workaround is to unzip the archive and re-zip it with the command line zip tool (tried in MacOS). So there was something that changed in the way the zip file is generated in version 8.4.2.1 that exposed this issue with Elastic Cloud.

from elastiknn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.