Skip to content

Commit

Permalink
Merge branch 'main' into replace-master-int-server-test
Browse files Browse the repository at this point in the history
Signed-off-by: Tianli Feng <ftianli@amazon.com>
  • Loading branch information
Tianli Feng committed May 25, 2022
2 parents 37a0b17 + 5320b68 commit 51d5007
Show file tree
Hide file tree
Showing 131 changed files with 3,097 additions and 1,495 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ com.carrotsearch.randomizedtesting.annotations.Seed @ Don't commit hardcoded see
com.carrotsearch.randomizedtesting.annotations.Repeat @ Don't commit hardcoded repeats

org.apache.lucene.codecs.Codec#setDefault(org.apache.lucene.codecs.Codec) @ Use the SuppressCodecs("*") annotation instead
org.apache.lucene.tests.util.LuceneTestCase$Slow @ Don't write slow tests
org.junit.Ignore @ Use AwaitsFix instead
org.apache.lucene.tests.util.LuceneTestCase$Nightly @ We don't run nightly tests at this point!
com.carrotsearch.randomizedtesting.annotations.Nightly @ We don't run nightly tests at this point!
Expand Down
2 changes: 1 addition & 1 deletion buildSrc/version.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
opensearch = 3.0.0
lucene = 9.2.0-snapshot-f4f1f70
lucene = 9.2.0-snapshot-ba8c3a8

bundled_jdk_vendor = adoptium
bundled_jdk = 17.0.3+7
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
import java.io.Closeable;
import java.io.IOException;
import java.io.OutputStream;
import java.net.URI;
import java.nio.channels.FileChannel;
import java.nio.charset.StandardCharsets;
import java.nio.file.AccessDeniedException;
Expand Down Expand Up @@ -172,10 +171,8 @@ public void runTestRm(final boolean exception) throws IOException {
for (int i = 0; i < numberOfLocations; i++) {
if (exception && randomBoolean()) {
final Path location = createTempDir();
final FileSystem fs = new AccessDeniedWhileDeletingFileSystem(location.getFileSystem()).getFileSystem(
URI.create("file:///")
);
final Path wrapped = new FilterPath(location, fs);
final FilterFileSystemProvider ffsp = new AccessDeniedWhileDeletingFileSystem(location.getFileSystem());
final Path wrapped = ffsp.wrapPath(location);
locations[i] = wrapped.resolve(randomAlphaOfLength(8));
Files.createDirectory(locations[i]);
locationsThrowingException.add(locations[i]);
Expand Down Expand Up @@ -256,8 +253,8 @@ public FileChannel newFileChannel(final Path path, final Set<? extends OpenOptio

public void testFsyncAccessDeniedOpeningDirectory() throws Exception {
final Path path = createTempDir().toRealPath();
final FileSystem fs = new AccessDeniedWhileOpeningDirectoryFileSystem(path.getFileSystem()).getFileSystem(URI.create("file:///"));
final Path wrapped = new FilterPath(path, fs);
final FilterFileSystemProvider ffsp = new AccessDeniedWhileOpeningDirectoryFileSystem(path.getFileSystem());
final Path wrapped = ffsp.wrapPath(path);
if (Constants.WINDOWS) {
// no exception, we early return and do not even try to open the directory
IOUtils.fsync(wrapped, true);
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fe5e4cf94d26bbe1d982808f34fa132bba5565e3

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
9fc73c790c037e817635fcc30ea0891e6acd2fac

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
058ffd84388f9ffcf0bfdd7f43a6e832836a2927

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fb166f35ba04a7687b3073afb9972f6669ac722e

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
abf9eb24601ec11ce5b61e4753b41444a869b29d

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
b310130fe9e0f31ce4218cda921309b1143f3541

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ad8783255cdcb6e7ab23a505123716ad979f3484

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
75f8fbb94a303d04c5dc2b25436300a463003dd6

This file was deleted.

2 changes: 1 addition & 1 deletion plugins/repository-azure/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ dependencies {
implementation project(':modules:transport-netty4')
api 'com.azure:azure-storage-blob:12.16.1'
api 'org.reactivestreams:reactive-streams:1.0.3'
api 'io.projectreactor:reactor-core:3.4.17'
api 'io.projectreactor:reactor-core:3.4.18'
api 'io.projectreactor.netty:reactor-netty:1.0.18'
api 'io.projectreactor.netty:reactor-netty-core:1.0.19'
api 'io.projectreactor.netty:reactor-netty-http:1.0.18'
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
29f4f3a4876a65861deffc0f7f189029bcaf7946
2 changes: 1 addition & 1 deletion plugins/repository-gcs/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ dependencies {
api 'com.google.http-client:google-http-client-appengine:1.41.8'
api 'com.google.http-client:google-http-client-jackson2:1.35.0'
api 'com.google.http-client:google-http-client-gson:1.41.4'
api 'com.google.api:gax-httpjson:0.101.0'
api 'com.google.api:gax-httpjson:0.103.1'
api 'io.grpc:grpc-context:1.46.0'
api 'io.opencensus:opencensus-api:0.18.0'
api 'io.opencensus:opencensus-contrib-http-util:0.18.0'
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
041d99172fda933bc879bdfd8de9420c5c34107e
2 changes: 1 addition & 1 deletion plugins/repository-hdfs/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ dependencies {
api "org.apache.hadoop:hadoop-hdfs:${versions.hadoop3}"
api 'org.apache.htrace:htrace-core4:4.2.0-incubating'
api "org.apache.logging.log4j:log4j-core:${versions.log4j}"
api 'org.apache.avro:avro:1.10.2'
api 'org.apache.avro:avro:1.11.0'
api "com.fasterxml.jackson.core:jackson-databind:${versions.jackson_databind}"
api 'com.google.code.gson:gson:2.9.0'
runtimeOnly 'com.google.guava:guava:31.1-jre'
Expand Down
1 change: 0 additions & 1 deletion plugins/repository-hdfs/licenses/avro-1.10.2.jar.sha1

This file was deleted.

1 change: 1 addition & 0 deletions plugins/repository-hdfs/licenses/avro-1.11.0.jar.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2b0c58e5b450d4f4931456952ad9520cae9c896c
Loading

0 comments on commit 51d5007

Please sign in to comment.