Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions gradle/verification-metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -934,6 +934,11 @@
<sha256 value="a1e25d1b71e805233daefabba72a21566580354a192539cdab43bbf191dbf951" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="com.google.re2j" name="re2j" version="1.0">
<artifact name="re2j-1.0.jar">
<sha256 value="5406ddfec247c0db50a11b2fe6f4d881980fc3b2c3d03fce7b258c4b014be3e0" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="com.google.re2j" name="re2j" version="1.1">
<artifact name="re2j-1.1.jar">
<sha256 value="24ada84d1b5de584e3e84b06f0c7dd562cee6eafe8dea8083bd8eb123823bbe7" origin="Generated by Gradle"/>
Expand Down Expand Up @@ -1469,6 +1474,11 @@
<sha256 value="fd63b583fd3e8baeae22efacbd5a4f91c1fd97f56248e62e2615efa7b81daeaa" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="commons-daemon" name="commons-daemon" version="1.4.0">
<artifact name="commons-daemon-1.4.0.jar">
<sha256 value="6b8e35b13f27f265fed0caa7c4ce9d13b790662af5f48cb7d41df394de759dbd" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="commons-digester" name="commons-digester" version="1.8">
<artifact name="commons-digester-1.8.jar">
<sha256 value="05662373044f3dff112567b7bb5dfa1174e91e074c0c727b4412788013f49d56" origin="Generated by Gradle"/>
Expand Down Expand Up @@ -3983,6 +3993,11 @@
<sha256 value="cd5af52995ad754d00886d4bbee7f093e4c34c2f3fb5dd0fef4550ecb1d13d48" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.eclipse.jetty" name="jetty-util" version="9.4.51.v20230217">
<artifact name="jetty-util-9.4.51.v20230217.jar">
<sha256 value="9fac4168b1ae543c5c29f48008cd118c70779aa701d60f37f52b57c104b6536e" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.eclipse.jetty" name="jetty-util-ajax" version="9.4.40.v20210413">
<artifact name="jetty-util-ajax-9.4.40.v20210413.jar">
<sha256 value="8b5f0d1fbea4b50672950e8abb30b8c51b462cd0108b46db6ff8ff0f215a88ca" origin="Generated by Gradle"/>
Expand All @@ -3998,6 +4013,11 @@
<sha256 value="9c7503adf0e8860667ce539dbac670ca3eb303fc3afa091b7d2d2c5b4fdc52e9" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.eclipse.jetty" name="jetty-xml" version="9.4.51.v20230217">
<artifact name="jetty-xml-9.4.51.v20230217.jar">
<sha256 value="6d7d68dfd7e58559505bee8cc14089cb54d7715be719074da62c50364d1ebf97" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.eclipse.jetty.websocket" name="javax-websocket-client-impl" version="9.4.40.v20210413">
<artifact name="javax-websocket-client-impl-9.4.40.v20210413.jar">
<sha256 value="a04dfb3344c3996e800c1e5114fe31b9cde305d6727900caeab07853ef12a701" origin="Generated by Gradle"/>
Expand Down
10 changes: 5 additions & 5 deletions plugins/repository-hdfs/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,11 @@ tasks.named('javaRestTest').configure {
classpath = sourceSets.javaRestTest.runtimeClasspath + configurations.hdfsFixture3
}

tasks.register("javaRestTestHdfs2", RestIntegTestTask) {
description = "Runs rest tests against an elasticsearch cluster with HDFS version 2"
testClassesDirs = sourceSets.javaRestTest.output.classesDirs
classpath = sourceSets.javaRestTest.runtimeClasspath + configurations.hdfsFixture2
}
//tasks.register("javaRestTestHdfs2", RestIntegTestTask) {
// description = "Runs rest tests against an elasticsearch cluster with HDFS version 2"
// testClassesDirs = sourceSets.javaRestTest.output.classesDirs
// classpath = sourceSets.javaRestTest.runtimeClasspath + configurations.hdfsFixture2
//}

tasks.named('yamlRestTest').configure {
classpath = sourceSets.yamlRestTest.runtimeClasspath + configurations.hdfsFixture2
Expand Down
5 changes: 5 additions & 0 deletions test/fixtures/hdfs-fixture/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,11 @@ dependencies {
hdfs3("org.eclipse.jetty:jetty-http:9.4.40.v20210413")
hdfs3("org.eclipse.jetty:jetty-security:9.4.40.v20210413")
hdfs3("org.eclipse.jetty:jetty-io:9.4.40.v20210413")
hdfs3("org.eclipse.jetty:jetty-xml:9.4.40.v20210413")
hdfs3("commons-daemon:commons-daemon:1.4.0")
hdfs3("com.google.protobuf:protobuf-java:4.32.0")
hdfs3("com.google.re2j:re2j:1.0")
hdfs3("org.apache.commons:commons-math3:3.6.1")
hdfs3("javax.servlet:javax.servlet-api:3.1.0")
hdfs3("com.sun.jersey:jersey-servlet:1.19")
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ private void startMinHdfs() throws Exception {
// If the maximum number of attempts is reached, rethrow the exception
FileUtils.deleteDirectory(baseDir.toFile());
if (attempt == maxAttempts) {
Assume.assumeTrue("Unable to start HDFS cluster", false);
throw e;
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public Krb5kDcContainer(ProvisioningId provisioningId) {

// Add previous port bindings and UDP port binding
Ports ports = cmd.getPortBindings();
ports.bind(ExposedPort.udp(88), Ports.Binding.empty());
ports.bind(ExposedPort.udp(88), Ports.Binding.bindPort(88));
cmd.withPortBindings(ports);
});
withNetworkAliases("kerberos.build.elastic.co", "build.elastic.co");
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugin/searchable-snapshots/qa/hdfs/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ apply plugin: 'elasticsearch.internal-available-ports'
configurations {
javaRestTestRuntimeClasspath {
attributes {
attribute(Attribute.of('hdfs.major.version', Integer), 2)
attribute(Attribute.of('hdfs.major.version', Integer), 3)
}
}
}
Expand Down