diff --git a/plugins/repository-hdfs/build.gradle b/plugins/repository-hdfs/build.gradle index b3ae34012aa38..8856ae1526a21 100644 --- a/plugins/repository-hdfs/build.gradle +++ b/plugins/repository-hdfs/build.gradle @@ -1,4 +1,4 @@ -1/* +/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright @@ -214,25 +214,6 @@ RestIntegTestTask integTestSecureHa = project.tasks.create('integTestSecureHa', description = "Runs rest tests against an elasticsearch cluster with HDFS configured with HA Namenode and secured by MIT Kerberos." } -if (rootProject.ext.compilerJavaVersion.isJava11()) { - // TODO remove when: https://github.com/elastic/elasticsearch/issues/31498 - integTestRunner { - systemProperty 'tests.rest.blacklist', [ - 'hdfs_repository/30_snapshot/take snapshot', - 'hdfs_repository/40_restore/Create a snapshot and then restore it', - 'hdfs_repository/20_repository_verify/HDFS Repository Verify', - 'hdfs_repository/30_snapshot_get/Get a snapshot', - 'hdfs_repository/20_repository_create/HDFS Repository Creation', - 'hdfs_repository/20_repository_delete/HDFS Delete Repository', - 'hdfs_repository/30_snapshot_readonly/Get a snapshot - readonly', - ].join(',') - } -} -if (rootProject.ext.runtimeJavaVersion.isJava11() || rootProject.ext.compilerJavaVersion.isJava11()) { - // TODO remove when: https://github.com/elastic/elasticsearch/issues/31498 - integTestHa.enabled = false -} - // Determine HDFS Fixture compatibility for the current build environment. boolean fixtureSupported = false if (Os.isFamily(Os.FAMILY_WINDOWS)) { diff --git a/plugins/repository-hdfs/src/main/plugin-metadata/plugin-security.policy b/plugins/repository-hdfs/src/main/plugin-metadata/plugin-security.policy index f6476f290bc34..897596bbd8546 100644 --- a/plugins/repository-hdfs/src/main/plugin-metadata/plugin-security.policy +++ b/plugins/repository-hdfs/src/main/plugin-metadata/plugin-security.policy @@ -61,6 +61,7 @@ grant { // Hadoop depends on OS level user information for simple authentication // Unix: UnixLoginModule: com.sun.security.auth.module.UnixSystem.UnixSystem init + permission java.lang.RuntimePermission "loadLibrary.jaas"; permission java.lang.RuntimePermission "loadLibrary.jaas_unix"; // Windows: NTLoginModule: com.sun.security.auth.module.NTSystem.loadNative permission java.lang.RuntimePermission "loadLibrary.jaas_nt";