elastic / elasticsearch

Free and Open Source, Distributed, RESTful Search Engine
https://www.elastic.co/products/elasticsearch
Other
1.47k stars 24.88k forks source link

[7.17] :x-pack:plugin:snapshot-repo-test-kit:qa:hdfs:hdfsFixture failing #114541

Open brianseeders opened 1 month ago

brianseeders commented 1 month ago

:x-pack:plugin:snapshot-repo-test-kit:qa:hdfs:hdfsFixture is failing on 7.17.

2024-10-10 20:50:41,169 WARN  [main] util.NativeCodeLoader (NativeCodeLoader.java:<clinit>(62)) - Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
...
2024-10-10 20:50:42,308 ERROR [main] namenode.FSNamesystem (FSNamesystem.java:<init>(900)) - FSNamesystem initialization failed. |  
-- | --
  | java.lang.UnsupportedOperationException: getSubject is supported only if a security manager is allowed
elasticsearchmachine commented 1 month ago

Pinging @elastic/es-core-infra (Team:Core/Infra)

elasticsearchmachine commented 1 month ago

Pinging @elastic/es-data-management (Team:Data Management)

ldematte commented 1 month ago

Maybe relevant: https://docs.oracle.com/en/java/javase/23/security/migrating-deprecated-removal-methods-subject-getsubject-and-subject-doas-subject-current-and-subje.html

Seems like a known problem of some version of Hadoop not working correctly with Java 23 due to changes to some methods.