Skip to content

Conversation

@steveloughran
Copy link
Contributor

This patch carefully pulls out the changes into a new class, s3a.impl.MultiObjectDeleteSupport which isolates this from everything else, and is designed for testing in isolation.

Tests are still WiP; I've pulled the partial rename failure ones out ITestAssumeRole into isolation here, because the fact that they use assumed roles is a detail to set up the failures.

It currently only does the delete failure, but I'll probably include the copy failures in here as they are so related.

@steveloughran steveloughran added fs/s3 changes related to hadoop-aws; submitter must declare test endpoint work-in-progress labels Mar 28, 2019
@steveloughran steveloughran changed the title WIP: S3Guard store becomes inconsistent after partial failure of rename HADOOP-15183 S3Guard store becomes inconsistent after partial failure of rename Mar 28, 2019
@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 28 Docker mode activated.
_ Prechecks _
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 8 new or modified test files.
_ trunk Compile Tests _
0 mvndep 64 Maven dependency ordering for branch
+1 mvninstall 1058 trunk passed
+1 compile 1029 trunk passed
+1 checkstyle 179 trunk passed
+1 mvnsite 126 trunk passed
+1 shadedclient 992 branch has no errors when building and testing our client artifacts.
+1 findbugs 150 trunk passed
+1 javadoc 91 trunk passed
_ Patch Compile Tests _
0 mvndep 21 Maven dependency ordering for patch
-1 mvninstall 27 hadoop-aws in the patch failed.
-1 compile 875 root in the patch failed.
-1 javac 875 root in the patch failed.
-0 checkstyle 190 root: The patch generated 14 new + 40 unchanged - 0 fixed = 54 total (was 40)
-1 mvnsite 39 hadoop-aws in the patch failed.
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedclient 630 patch has no errors when building and testing our client artifacts.
-1 findbugs 28 hadoop-aws in the patch failed.
+1 javadoc 81 the patch passed
_ Other Tests _
+1 unit 521 hadoop-common in the patch passed.
-1 unit 35 hadoop-aws in the patch failed.
+1 asflicense 36 The patch does not generate ASF License warnings.
6369
Subsystem Report/Notes
Docker Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-654/1/artifact/out/Dockerfile
GITHUB PR #654
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle
uname Linux f1be4a6ffe3d 4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / 15d38b1
maven version: Apache Maven 3.3.9
Default Java 1.8.0_191
findbugs v3.1.0-RC1
mvninstall https://builds.apache.org/job/hadoop-multibranch/job/PR-654/1/artifact/out/patch-mvninstall-hadoop-tools_hadoop-aws.txt
compile https://builds.apache.org/job/hadoop-multibranch/job/PR-654/1/artifact/out/patch-compile-root.txt
javac https://builds.apache.org/job/hadoop-multibranch/job/PR-654/1/artifact/out/patch-compile-root.txt
checkstyle https://builds.apache.org/job/hadoop-multibranch/job/PR-654/1/artifact/out/diff-checkstyle-root.txt
mvnsite https://builds.apache.org/job/hadoop-multibranch/job/PR-654/1/artifact/out/patch-mvnsite-hadoop-tools_hadoop-aws.txt
findbugs https://builds.apache.org/job/hadoop-multibranch/job/PR-654/1/artifact/out/patch-findbugs-hadoop-tools_hadoop-aws.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-654/1/artifact/out/patch-unit-hadoop-tools_hadoop-aws.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-654/1/testReport/
Max. process+thread count 1434 (vs. ulimit of 5500)
modules C: hadoop-common-project/hadoop-common hadoop-tools/hadoop-aws U: .
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-654/1/console
Powered by Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@steveloughran steveloughran force-pushed the s3/HADOOP-15183-s3guard-rename-failures branch from 3f9bd3d to 5cd2465 Compare March 28, 2019 17:17
@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 28 Docker mode activated.
_ Prechecks _
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 8 new or modified test files.
_ trunk Compile Tests _
0 mvndep 60 Maven dependency ordering for branch
+1 mvninstall 994 trunk passed
+1 compile 944 trunk passed
+1 checkstyle 196 trunk passed
+1 mvnsite 118 trunk passed
+1 shadedclient 1032 branch has no errors when building and testing our client artifacts.
+1 findbugs 136 trunk passed
+1 javadoc 81 trunk passed
_ Patch Compile Tests _
0 mvndep 20 Maven dependency ordering for patch
-1 mvninstall 24 hadoop-aws in the patch failed.
-1 compile 838 root in the patch failed.
-1 javac 838 root in the patch failed.
-0 checkstyle 185 root: The patch generated 14 new + 40 unchanged - 0 fixed = 54 total (was 40)
-1 mvnsite 38 hadoop-aws in the patch failed.
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedclient 614 patch has no errors when building and testing our client artifacts.
-1 findbugs 32 hadoop-aws in the patch failed.
+1 javadoc 86 the patch passed
_ Other Tests _
-1 unit 519 hadoop-common in the patch failed.
-1 unit 39 hadoop-aws in the patch failed.
+1 asflicense 36 The patch does not generate ASF License warnings.
6197
Reason Tests
Failed junit tests hadoop.security.token.delegation.TestZKDelegationTokenSecretManager
Subsystem Report/Notes
Docker Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-654/2/artifact/out/Dockerfile
GITHUB PR #654
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle
uname Linux 11a912ddd3a7 4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / f3f5128
maven version: Apache Maven 3.3.9
Default Java 1.8.0_191
findbugs v3.1.0-RC1
mvninstall https://builds.apache.org/job/hadoop-multibranch/job/PR-654/2/artifact/out/patch-mvninstall-hadoop-tools_hadoop-aws.txt
compile https://builds.apache.org/job/hadoop-multibranch/job/PR-654/2/artifact/out/patch-compile-root.txt
javac https://builds.apache.org/job/hadoop-multibranch/job/PR-654/2/artifact/out/patch-compile-root.txt
checkstyle https://builds.apache.org/job/hadoop-multibranch/job/PR-654/2/artifact/out/diff-checkstyle-root.txt
mvnsite https://builds.apache.org/job/hadoop-multibranch/job/PR-654/2/artifact/out/patch-mvnsite-hadoop-tools_hadoop-aws.txt
findbugs https://builds.apache.org/job/hadoop-multibranch/job/PR-654/2/artifact/out/patch-findbugs-hadoop-tools_hadoop-aws.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-654/2/artifact/out/patch-unit-hadoop-common-project_hadoop-common.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-654/2/artifact/out/patch-unit-hadoop-tools_hadoop-aws.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-654/2/testReport/
Max. process+thread count 1688 (vs. ulimit of 5500)
modules C: hadoop-common-project/hadoop-common hadoop-tools/hadoop-aws U: .
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-654/2/console
Powered by Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo, patch -> path

@steveloughran steveloughran force-pushed the s3/HADOOP-15183-s3guard-rename-failures branch from 5cd2465 to c2da32a Compare April 4, 2019 20:56
@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 0 Docker mode activated.
-1 patch 6 #654 does not apply to trunk. Rebase required? Wrong Branch? See https://wiki.apache.org/hadoop/HowToContribute for help.
Subsystem Report/Notes
GITHUB PR #654
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-654/3/console
Powered by Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@steveloughran
Copy link
Contributor Author

steveloughran commented Apr 5, 2019

Note, layout of packages & aspects of arch are based on https://github.com/steveloughran/engineering-proposals/blob/master/refactoring-s3a.md , primarily
implementing multidelete support into its own module in .impl & testing in isolation

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 0 Docker mode activated.
-1 patch 8 #654 does not apply to trunk. Rebase required? Wrong Branch? See https://wiki.apache.org/hadoop/HowToContribute for help.
Subsystem Report/Notes
GITHUB PR #654
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-654/4/console
Powered by Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 0 Docker mode activated.
-1 patch 8 #654 does not apply to trunk. Rebase required? Wrong Branch? See https://wiki.apache.org/hadoop/HowToContribute for help.
Subsystem Report/Notes
GITHUB PR #654
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-654/5/console
Powered by Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 0 Docker mode activated.
-1 patch 6 #654 does not apply to trunk. Rebase required? Wrong Branch? See https://wiki.apache.org/hadoop/HowToContribute for help.
Subsystem Report/Notes
GITHUB PR #654
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-654/6/console
Powered by Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@steveloughran steveloughran force-pushed the s3/HADOOP-15183-s3guard-rename-failures branch from 215e4f8 to bf5527c Compare April 19, 2019 21:50
@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 0 Docker mode activated.
-1 patch 7 #654 does not apply to trunk. Rebase required? Wrong Branch? See https://wiki.apache.org/hadoop/HowToContribute for help.
Subsystem Report/Notes
GITHUB PR #654
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-654/7/console
Powered by Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@steveloughran steveloughran force-pushed the s3/HADOOP-15183-s3guard-rename-failures branch from bf5527c to 23955fc Compare April 20, 2019 01:07
@steveloughran
Copy link
Contributor Author

not applying to trunk...don't understand this. Rebased

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 0 Docker mode activated.
-1 patch 7 #654 does not apply to trunk. Rebase required? Wrong Branch? See https://wiki.apache.org/hadoop/HowToContribute for help.
Subsystem Report/Notes
GITHUB PR #654
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-654/8/console
Powered by Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@steveloughran
Copy link
Contributor Author

Having weirdness here as yetus can't apply patch. Local attempt (over SFO airport wifi)

> dev-support/bin/smart-apply-patch --project=hadoop GH:654
Processing: GH:654
GITHUB PR #654 is being downloaded at Fri 19 Apr 2019 18:14:35 PDT from
https://github.com/apache/hadoop/pull/654
Patch from GITHUB PR #654 is being downloaded at Fri 19 Apr 2019 18:14:36 PDT from
https://github.com/apache/hadoop/pull/654.patch
ERROR: Aborting! GH:654 cannot be verified.

@steveloughran
Copy link
Contributor Author

OK, some bit of the patch history is causing confusion

  
Checking patch hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/contract/ContractTestUtils.java...
Checking patch hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/S3AFileSystem.java...
Checking patch hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/S3AInstrumentation.java...
Checking patch hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/S3AUtils.java...
Checking patch hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/Statistic.java...
Checking patch hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/ITestS3AFailureHandling.java...
Checking patch hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/S3ATestUtils.java...
Checking patch hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/TestS3AExceptionTranslation.java...
Checking patch hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/auth/ITestAssumeRole.java...
Checking patch hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/S3AFileSystem.java...
Checking patch hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/S3AUtils.java...
Checking patch hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/impl/MultiObjectDeleteSupport.java...
Checking patch hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/s3guard/S3Guard.java...
Checking patch hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/ExtraAssertions.java...
Checking patch hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/ITestS3AFailureHandling.java...
Checking patch hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/S3ATestUtils.java...
Checking patch hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/TestS3AExceptionTranslation.java...
Checking patch hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/auth/ITestAssumeRole.java...
Checking patch hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/impl/ITestPartialRenamesDeletes.java...
Checking patch hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/impl/TestPartialDeleteFailures.java...
Checking patch hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/S3AFileSystem.java...
Checking patch hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/impl/MultiObjectDeleteSupport.java...
Checking patch hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/ITestS3AFailureHandling.java...
Checking patch hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/impl/ITestPartialRenamesDeletes.java...
Checking patch hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/impl/TestPartialDeleteFailures.java...
Checking patch hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/ExtraAssertions.java => hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/test/ExtraAssertions.java...
error: hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/ExtraAssertions.java: does not exist in index
Checking patch hadoop-tools/hadoop-aws/pom.xml...
Checking patch hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/auth/RoleTestUtils.java...
Checking patch hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/impl/ITestPartialRenamesDeletes.java...
Checking patch hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/impl/MultiObjectDeleteSupport.java...
Checking patch hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/auth/ITestAssumeRole.java...
Checking patch hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/auth/RoleTestUtils.java...
Checking patch hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/impl/ITestPartialRenamesDeletes.java...
Checking patch hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/impl/TestPartialDeleteFailures.java...
Checking patch hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/S3AFileSystem.java...
Checking patch hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/impl/MultiObjectDeleteSupport.java...
Checking patch hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/impl/StoreContext.java...
Checking patch hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/ITestS3AFailureHandling.java...
Checking patch hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/impl/TestPartialDeleteFailures.java...

@steveloughran steveloughran force-pushed the s3/HADOOP-15183-s3guard-rename-failures branch from 23955fc to 77548b4 Compare April 20, 2019 01:37
@steveloughran
Copy link
Contributor Author

squashed entire patch into one

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 25 Docker mode activated.
_ Prechecks _
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 8 new or modified test files.
_ trunk Compile Tests _
0 mvndep 61 Maven dependency ordering for branch
+1 mvninstall 1015 trunk passed
+1 compile 972 trunk passed
+1 checkstyle 140 trunk passed
+1 mvnsite 121 trunk passed
+1 shadedclient 988 branch has no errors when building and testing our client artifacts.
+1 findbugs 157 trunk passed
+1 javadoc 106 trunk passed
_ Patch Compile Tests _
0 mvndep 22 Maven dependency ordering for patch
+1 mvninstall 75 the patch passed
+1 compile 913 the patch passed
+1 javac 913 the patch passed
-0 checkstyle 140 root: The patch generated 19 new + 40 unchanged - 0 fixed = 59 total (was 40)
+1 mvnsite 127 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 xml 2 The patch has no ill-formed XML file.
+1 shadedclient 673 patch has no errors when building and testing our client artifacts.
-1 findbugs 67 hadoop-tools/hadoop-aws generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
-1 javadoc 36 hadoop-tools_hadoop-aws generated 1 new + 1 unchanged - 0 fixed = 2 total (was 1)
_ Other Tests _
+1 unit 509 hadoop-common in the patch passed.
+1 unit 283 hadoop-aws in the patch passed.
+1 asflicense 47 The patch does not generate ASF License warnings.
6680
Reason Tests
FindBugs module:hadoop-tools/hadoop-aws
Inconsistent synchronization of org.apache.hadoop.fs.s3a.S3AFileSystem.directoryAllocator; locked 75% of time Unsynchronized access at S3AFileSystem.java:75% of time Unsynchronized access at S3AFileSystem.java:[line 2343]
Subsystem Report/Notes
Docker Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-654/9/artifact/out/Dockerfile
GITHUB PR #654
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle xml
uname Linux 7577e1cc2fef 4.4.0-139-generic #165-Ubuntu SMP Wed Oct 24 10:58:50 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / 317fcba
maven version: Apache Maven 3.3.9
Default Java 1.8.0_191
findbugs v3.1.0-RC1
checkstyle https://builds.apache.org/job/hadoop-multibranch/job/PR-654/9/artifact/out/diff-checkstyle-root.txt
findbugs https://builds.apache.org/job/hadoop-multibranch/job/PR-654/9/artifact/out/new-findbugs-hadoop-tools_hadoop-aws.html
javadoc https://builds.apache.org/job/hadoop-multibranch/job/PR-654/9/artifact/out/diff-javadoc-javadoc-hadoop-tools_hadoop-aws.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-654/9/testReport/
Max. process+thread count 1381 (vs. ulimit of 5500)
modules C: hadoop-common-project/hadoop-common hadoop-tools/hadoop-aws U: .
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-654/9/console
Powered by Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@steveloughran steveloughran force-pushed the s3/HADOOP-15183-s3guard-rename-failures branch from 77548b4 to 68af07f Compare April 24, 2019 22:47
@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 54 Docker mode activated.
_ Prechecks _
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 8 new or modified test files.
_ trunk Compile Tests _
0 mvndep 318 Maven dependency ordering for branch
+1 mvninstall 1228 trunk passed
+1 compile 986 trunk passed
+1 checkstyle 151 trunk passed
+1 mvnsite 123 trunk passed
+1 shadedclient 1059 branch has no errors when building and testing our client artifacts.
+1 findbugs 156 trunk passed
+1 javadoc 95 trunk passed
_ Patch Compile Tests _
0 mvndep 20 Maven dependency ordering for patch
+1 mvninstall 76 the patch passed
+1 compile 931 the patch passed
-1 javac 931 root generated 2 new + 1481 unchanged - 0 fixed = 1483 total (was 1481)
-0 checkstyle 183 root: The patch generated 25 new + 40 unchanged - 0 fixed = 65 total (was 40)
+1 mvnsite 123 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 xml 1 The patch has no ill-formed XML file.
+1 shadedclient 742 patch has no errors when building and testing our client artifacts.
-1 findbugs 60 hadoop-tools/hadoop-aws generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
-1 javadoc 31 hadoop-tools_hadoop-aws generated 1 new + 1 unchanged - 0 fixed = 2 total (was 1)
_ Other Tests _
+1 unit 548 hadoop-common in the patch passed.
+1 unit 294 hadoop-aws in the patch passed.
+1 asflicense 42 The patch does not generate ASF License warnings.
7398
Reason Tests
FindBugs module:hadoop-tools/hadoop-aws
Inconsistent synchronization of org.apache.hadoop.fs.s3a.S3AFileSystem.directoryAllocator; locked 75% of time Unsynchronized access at S3AFileSystem.java:75% of time Unsynchronized access at S3AFileSystem.java:[line 2373]
Subsystem Report/Notes
Docker Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-654/10/artifact/out/Dockerfile
GITHUB PR #654
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle xml
uname Linux 457afd609ae2 4.4.0-141-generic #167~14.04.1-Ubuntu SMP Mon Dec 10 13:20:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / a703dae
maven version: Apache Maven 3.3.9
Default Java 1.8.0_191
findbugs v3.1.0-RC1
javac https://builds.apache.org/job/hadoop-multibranch/job/PR-654/10/artifact/out/diff-compile-javac-root.txt
checkstyle https://builds.apache.org/job/hadoop-multibranch/job/PR-654/10/artifact/out/diff-checkstyle-root.txt
findbugs https://builds.apache.org/job/hadoop-multibranch/job/PR-654/10/artifact/out/new-findbugs-hadoop-tools_hadoop-aws.html
javadoc https://builds.apache.org/job/hadoop-multibranch/job/PR-654/10/artifact/out/diff-javadoc-javadoc-hadoop-tools_hadoop-aws.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-654/10/testReport/
Max. process+thread count 1471 (vs. ulimit of 5500)
modules C: hadoop-common-project/hadoop-common hadoop-tools/hadoop-aws U: .
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-654/10/console
Powered by Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given the requirement mentioned below shouldn't the default fs.s3a.connection.maximum be > the default fs.s3a.threads.max?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

moved to 72. Now, 64 threads seems a lot, but most of these are blocking operations rather than IO heavy actions.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unfinished comment

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 55 Docker mode activated.
_ Prechecks _
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 8 new or modified test files.
_ trunk Compile Tests _
0 mvndep 107 Maven dependency ordering for branch
+1 mvninstall 1350 trunk passed
+1 compile 1552 trunk passed
+1 checkstyle 147 trunk passed
+1 mvnsite 125 trunk passed
+1 shadedclient 1022 branch has no errors when building and testing our client artifacts.
+1 findbugs 153 trunk passed
+1 javadoc 97 trunk passed
_ Patch Compile Tests _
0 mvndep 22 Maven dependency ordering for patch
+1 mvninstall 78 the patch passed
+1 compile 962 the patch passed
-1 javac 962 root generated 2 new + 1481 unchanged - 0 fixed = 1483 total (was 1481)
-0 checkstyle 136 root: The patch generated 27 new + 46 unchanged - 0 fixed = 73 total (was 46)
+1 mvnsite 119 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 xml 3 The patch has no ill-formed XML file.
+1 shadedclient 713 patch has no errors when building and testing our client artifacts.
-1 findbugs 60 hadoop-tools/hadoop-aws generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
-1 javadoc 35 hadoop-tools_hadoop-aws generated 1 new + 1 unchanged - 0 fixed = 2 total (was 1)
_ Other Tests _
+1 unit 549 hadoop-common in the patch passed.
+1 unit 285 hadoop-aws in the patch passed.
+1 asflicense 45 The patch does not generate ASF License warnings.
7799
Reason Tests
FindBugs module:hadoop-tools/hadoop-aws
Inconsistent synchronization of org.apache.hadoop.fs.s3a.S3AFileSystem.directoryAllocator; locked 75% of time Unsynchronized access at S3AFileSystem.java:75% of time Unsynchronized access at S3AFileSystem.java:[line 2375]
Subsystem Report/Notes
Docker Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-654/11/artifact/out/Dockerfile
GITHUB PR #654
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient xml findbugs checkstyle
uname Linux 1f3e91622723 3.13.0-153-generic #203-Ubuntu SMP Thu Jun 14 08:52:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / b5dcf64
maven version: Apache Maven 3.3.9
Default Java 1.8.0_191
findbugs v3.1.0-RC1
javac https://builds.apache.org/job/hadoop-multibranch/job/PR-654/11/artifact/out/diff-compile-javac-root.txt
checkstyle https://builds.apache.org/job/hadoop-multibranch/job/PR-654/11/artifact/out/diff-checkstyle-root.txt
findbugs https://builds.apache.org/job/hadoop-multibranch/job/PR-654/11/artifact/out/new-findbugs-hadoop-tools_hadoop-aws.html
javadoc https://builds.apache.org/job/hadoop-multibranch/job/PR-654/11/artifact/out/diff-javadoc-javadoc-hadoop-tools_hadoop-aws.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-654/11/testReport/
Max. process+thread count 1345 (vs. ulimit of 5500)
modules C: hadoop-common-project/hadoop-common hadoop-tools/hadoop-aws U: .
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-654/11/console
Powered by Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 43 Docker mode activated.
_ Prechecks _
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 9 new or modified test files.
_ trunk Compile Tests _
0 mvndep 30 Maven dependency ordering for branch
+1 mvninstall 1156 trunk passed
+1 compile 1124 trunk passed
+1 checkstyle 151 trunk passed
+1 mvnsite 123 trunk passed
+1 shadedclient 1036 branch has no errors when building and testing our client artifacts.
+1 findbugs 155 trunk passed
+1 javadoc 93 trunk passed
_ Patch Compile Tests _
0 mvndep 22 Maven dependency ordering for patch
+1 mvninstall 81 the patch passed
+1 compile 1215 the patch passed
-1 javac 1215 root generated 2 new + 1481 unchanged - 0 fixed = 1483 total (was 1481)
-0 checkstyle 165 root: The patch generated 29 new + 50 unchanged - 0 fixed = 79 total (was 50)
+1 mvnsite 159 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 xml 3 The patch has no ill-formed XML file.
+1 shadedclient 807 patch has no errors when building and testing our client artifacts.
-1 findbugs 77 hadoop-tools/hadoop-aws generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
-1 javadoc 40 hadoop-tools_hadoop-aws generated 1 new + 1 unchanged - 0 fixed = 2 total (was 1)
_ Other Tests _
+1 unit 609 hadoop-common in the patch passed.
+1 unit 302 hadoop-aws in the patch passed.
+1 asflicense 56 The patch does not generate ASF License warnings.
7660
Reason Tests
FindBugs module:hadoop-tools/hadoop-aws
Inconsistent synchronization of org.apache.hadoop.fs.s3a.S3AFileSystem.directoryAllocator; locked 75% of time Unsynchronized access at S3AFileSystem.java:75% of time Unsynchronized access at S3AFileSystem.java:[line 2375]
Subsystem Report/Notes
Docker Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-654/12/artifact/out/Dockerfile
GITHUB PR #654
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient xml findbugs checkstyle
uname Linux 73f5d8472364 4.4.0-141-generic #167~14.04.1-Ubuntu SMP Mon Dec 10 13:20:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / b5dcf64
maven version: Apache Maven 3.3.9
Default Java 1.8.0_191
findbugs v3.1.0-RC1
javac https://builds.apache.org/job/hadoop-multibranch/job/PR-654/12/artifact/out/diff-compile-javac-root.txt
checkstyle https://builds.apache.org/job/hadoop-multibranch/job/PR-654/12/artifact/out/diff-checkstyle-root.txt
findbugs https://builds.apache.org/job/hadoop-multibranch/job/PR-654/12/artifact/out/new-findbugs-hadoop-tools_hadoop-aws.html
javadoc https://builds.apache.org/job/hadoop-multibranch/job/PR-654/12/artifact/out/diff-javadoc-javadoc-hadoop-tools_hadoop-aws.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-654/12/testReport/
Max. process+thread count 1495 (vs. ulimit of 5500)
modules C: hadoop-common-project/hadoop-common hadoop-tools/hadoop-aws U: .
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-654/12/console
Powered by Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

…ing check for multidelete into the correct test case

Change-Id: Ie8ca305b79a1e3bfb963cf10c917ce59c2b0c39f
* Dir to delete contains a mix of r/o and r/w files
* asserts that for MPU, only the r/o files are guaranteed to be undeleted.
* in -Dscale, thousands of files (Created in parallel threads for max perf)

Findings are interesting. For a bulk delete, even with a PAYG DDB table, its the metastore delete which takes O(files) and a slow O(files) at that.

Change-Id: I388c24605cd4ac9e07bb43dd16fbfdda1e1cf085
This includes some changes in executor construction and the expansion of the defaults from the -too small- default values to something more realistic.
Note: big production deployments against a single store still benefit from a very large thread pool and connection pool. The core-default comments
cover that.

These changes bring the time to delete 1000+ files to tens of seconds from minutes.

TODO:
1. unwrap exceptions raised in the DDB operation and wrapped to IOEs
2. page the DDB deletions to some size (100?) to avoid going OOM on a wide/deep tree simply by the number of files to delete. That'll be slightly less efficient.

Change-Id: I5e998be6cd4e86b486c744f7f8864ac7945244f4
* disable sleep if interval set to 0. There's no need to throttle it any more
* track the # of parent directories across batches to avoid a prune of 1000 files to trigger 40 attempts at changing the parent state.
* ITestPartialRenamesDeletes to attempt a prune of the path in teardown

This is all to address the fact that once you have a scale test createing a deleting many thousands of files in unique paths, in every test run, you accrue many tombstone markers fast, which prune then goes after.

Change-Id: I02f7dffa94785a01cd2a2452cf2ad67d4534f32b
we move to batched execution of (parallel) delete calls, so that a failure fails fast and and there's no need to build up structures of millions of completable futures

Change-Id: I5e58310fcf7f545ce8904b0d2a80a02cb2681cf4
…failures-during-copy

Change-Id: Ida9e7424bd635fd6cc246ce65ab8d96c6fb8a958
…ry allocator) by providing a specific allocator callback.

This is the purer way anyway: users of the store context should get the functionality offered by the store, rather than access to the implementation details.

Note; I could have createed template FunctionWithIOE and BiFunctionWithIOE interfaces in fs.impl. Semi tempted, but trying to ramp back ambitions

Change-Id: I59fb2bf66218be6318c83fc1c919e004118533ab
…g there in parallel auth test runs. Change the failure to incude a listing so as to work out what is happening.

I don't think this is related to the rest of the work, so have made this patch isolated

Change-Id: I0ca0a1e315ee1d963457249a2d147fbbd2b98901
…er about copy and update logic first, and want to merge in the versioning stuff from Cerner first

Change-Id: If167d7b1d89d0a0873708ee9e471a7b68489f040
Pulls out the code to manage state during an S3A rename into a RenameOperation class, which each metastore gets to return on a call to initiateRenameOperations();

The current implementation of this is "just" the design originally in the S3AFileSystem.innerRename(): built up a list of destination metadata entries to create

Change-Id: Ibb88f6af0a7f88cc528700942059aede86a72dea
TODO: actually do either incremental updates of the store or write current state on a failure
This schedules copies through the executor up to ten at a time (random choice), doing a join() to wait for completion after a batch of ten, before issuing a builk delete, and after an exception is thrown.

That's the trouble with the parallel runs see: if one fails then you still have to wait for the active operation to reach some state before escalating.

I've moved the updating of the operation state into the submitted closures.

This still doesn't handle making the store consistent, but it reflects the structure I want the rename to work, now I'm going to add a new operation implementation which does incremental work.

`ITestPartialRenamesDeletes.testRenameFilesetFailsLeavingSourceUnchanged` still fails.

Added the empty test cases for the conditions I now want to create, moving beyond delete() failures into failures of the copy process (Write, read) to cover them too. Once the current test works.

Copy  code changes
+ some DurationInfo uses @ debug to log how long things take
+ propagates storage class from source.
+ getObjectMetadata now retries using the s3guard invoker if non-null, standard invoker otherwise. This is to handle failures and the case that the object to rename isn't there yet.

Thoughts

* maybe: issuing individual DELETE calls in that operation if single delete is enabled. This will eliminate the big paused delete phases. But do I need to care about this? It's only needed for working with non-AWS S3 impls, and for them I'd expect copy operations to be O(1) so while DELETE is slow, copy will be so fast that it'll be unimportant except in test cases with thousands of small files.
* maybe: when we know files are 0 bytes long, rather than copy just do a 0 byte PUT.  (but this loses the headers &c)
* we may want to increase the time to wait in the S3Guard invoker to stabilise, making a separate option, and add 412 as retryable.
* the page size for a multidelete is fixed at the AWS limit of 1000. This means we aren't currently testing the paged operation. Proposed: fs.s3a.internal.  property to make this smaller for testing only (not in Constants, not in docs, except in testing.md)
* the existing huge file test does a file rename. It should be changed to do a dir rename.

Change-Id: Icfec827b001ec4546491b459d7ccc6f0f1a45706
* Add explicit notion of a StoreOperation, similar to Gang-of-four Command pattern; RenameOperation => RenameTracker and a subclass of this
* DelayedUpdateRenameTracker will update metastore with destfiles on  a falure, while leaving source alone.
* now creating a directory tree for each rename test, so that we can verify that it works for >1 entry deep. Size of tree depends on -Dscale flag.

The delete cleanup tries to work out from the metastore if a parent dir is empty or not; needs some isolation for its own test.

New tests all happy.

This still only updates the store on the completion of a successful rename, so the window of inconsistency (and failure ) is O(files* data); moving to do it after every file is copied
will (a) reduce peak load and (b) shrink the window significantly

Change-Id: I33c82856107f5c9c685c72eedd5309d6489a56dd
This adds a rename tracker which adds entries incrementally, deletes source files after a delete. As such, the failed() and completed() operations become no-ops.

+ not yet tested; thinking of some unit tests to add alongside the live ones
+ also explicitly sorting the order of addition and deletion of pathmetadata elements such that in a patch delete, higher level entries are added first, while during deletion leaves are deleted first. This is to maintain the invariant "there are never any entries in the tables which do not have parents". Lots of tests on the sorting...if someone could tell me why Comparators.reverse returns something which fails my tests, I would love to know.

Outstanding TODO items

* switch DDB and local metastores to the new tracker
* isolated unit test to simulate some of the operations and verify that all is good

Change-Id: Iad76eefe4770699da6d867fa34ab59cebc9cf28c
Testing: only ITestPartialRenamesDeletes against S3 ireland
* Improvements to diagnostics, e.g. rename tracker string value.
* Metastore interface marks move() args may be null, fix up all implementations to handle this (DynamoDB already did, but not local)
* added another rename tests to ITestS3AContractRename which verifies file contents at the end and that the counters are as expected. This was done to debug a test failure, but is low cost and useful enough to retain.
* remove from S3Guard class the returning of new elements....that class now matches trunk again.
* Stub test class TestProgressiveRenameTracker for which I want to add some unit tests if I can think of some

Tested: yes, local and dynamo and auth/not-auth.

TODO:
* some unit tests for progressive rename tracker (we can, so let's try, because that way yetus will run them)
* reviews by others and respond to their feedback

Change-Id: I9cfe5313f93399b70ac9aedaf0edafd10aa1db3e
This adds the notion of an operation state which can be preserved across move() calls and so allow the metastore to update its view of the world without having to talk to any remote service.

For DDB it maintains that hash table of ancestors and so a set of move operations spread across parallel threads will still share the same map of ancestors to avoid creating duplicates of.

now, the bad news, as observed during test runs with debug logging: way too many metadata entries are being created. It seems to me that every putItem() call creates an ancestor list which then puts up all the ancestor markers, without checks for them existing. That is: the deeper you write, the more (expensive) write IOPs you create. If I haven't misunderstood it (and I hope I have!) then that map of ancestors isn't that useful, as entries get created anyway. All that's happening is that the write amplifcation isn't quite so big.

Added instrumentation of low level record read/write requests for dynamodb.

I'm still thinking about how best to deal with this, especially across a series of write operations likely to write to the same directory tree (that's rename and commit).

Probably something off
* track which parent paths we know to exist
* and which have been created
This would be part of the current ancestor state and, inevitably, have to be used during batch commit jobs too, so we'll know to avoid so much.

For write and commit, it'd be best if finishedWrite() did the walk up the tree and stop on the first successful probe for a parent, as its isolated, and DDB GET costs less than PUT.
That'd avoid the big write-context-spanning-operations change I'm considering but don't want to add in this patch, which is big enough anyway

Change-Id: Idabb6100e90629ddb3e04dbc3e66573abaedba13
convert the bulk operation for move into into an optional BulkOperationState for put operations in the metastore.

This is then used all the way through to commit operations so as to address HADOOP-15604.

I've not yet completed up all the wiring in the metastore: This is the first step, having an optional bulk update

Change-Id: I0275a344715eab002024f1644db8858059c71bb8
Also: revert changes in ContractTestUtils as it created link conflict, and because that library gets used in contract tests by external stores, I don't want to needlessly break things.
Change-Id: Ib25d5bb7735132745dab150208f5fafad600bdb6
@steveloughran steveloughran force-pushed the s3/HADOOP-15183-s3guard-rename-failures branch from 05554e2 to 301a7d4 Compare May 17, 2019 14:43
@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 33 Docker mode activated.
_ Prechecks _
+1 dupname 1 No case conflicting files found.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 22 new or modified test files.
_ trunk Compile Tests _
0 mvndep 63 Maven dependency ordering for branch
+1 mvninstall 1060 trunk passed
+1 compile 1077 trunk passed
+1 checkstyle 130 trunk passed
+1 mvnsite 117 trunk passed
+1 shadedclient 960 branch has no errors when building and testing our client artifacts.
+1 javadoc 80 trunk passed
0 spotbugs 58 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 172 trunk passed
-0 patch 90 Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
0 mvndep 20 Maven dependency ordering for patch
+1 mvninstall 72 the patch passed
+1 compile 986 the patch passed
+1 javac 986 the patch passed
-0 checkstyle 141 root: The patch generated 61 new + 85 unchanged - 2 fixed = 146 total (was 87)
+1 mvnsite 116 the patch passed
-1 whitespace 0 The patch has 1 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply
+1 xml 3 The patch has no ill-formed XML file.
+1 shadedclient 674 patch has no errors when building and testing our client artifacts.
-1 javadoc 28 hadoop-tools_hadoop-aws generated 4 new + 1 unchanged - 0 fixed = 5 total (was 1)
-1 findbugs 75 hadoop-tools/hadoop-aws generated 2 new + 0 unchanged - 0 fixed = 2 total (was 0)
_ Other Tests _
+1 unit 505 hadoop-common in the patch passed.
+1 unit 286 hadoop-aws in the patch passed.
+1 asflicense 47 The patch does not generate ASF License warnings.
8679
Reason Tests
FindBugs module:hadoop-tools/hadoop-aws
org.apache.hadoop.fs.s3a.s3guard.PathOrderComparators$TopmostFirst implements Comparator but not Serializable At PathOrderComparators.java:Serializable At PathOrderComparators.java:[lines 69-89]
org.apache.hadoop.fs.s3a.s3guard.PathOrderComparators$TopmostLast implements Comparator but not Serializable At PathOrderComparators.java:Serializable At PathOrderComparators.java:[lines 98-109]
Subsystem Report/Notes
Docker Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-654/26/artifact/out/Dockerfile
GITHUB PR #654
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle xml
uname Linux 49e2b56470fa 4.4.0-139-generic #165-Ubuntu SMP Wed Oct 24 10:58:50 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / 4cb3da6
Default Java 1.8.0_212
checkstyle https://builds.apache.org/job/hadoop-multibranch/job/PR-654/26/artifact/out/diff-checkstyle-root.txt
whitespace https://builds.apache.org/job/hadoop-multibranch/job/PR-654/26/artifact/out/whitespace-eol.txt
javadoc https://builds.apache.org/job/hadoop-multibranch/job/PR-654/26/artifact/out/diff-javadoc-javadoc-hadoop-tools_hadoop-aws.txt
findbugs https://builds.apache.org/job/hadoop-multibranch/job/PR-654/26/artifact/out/new-findbugs-hadoop-tools_hadoop-aws.html
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-654/26/testReport/
Max. process+thread count 1471 (vs. ulimit of 5500)
modules C: hadoop-common-project/hadoop-common hadoop-tools/hadoop-aws U: .
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-654/26/console
versions git=2.7.4 maven=3.3.9 findbugs=3.1.0-RC1
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

… update parent directories once.

+ancestor checking does this
+instrumentation update in DDB => optional
+ITestPartialRenamesDeletes prunes on teardown properly. This stops the store being full of tombstone markers, and
 during development of the code, many invalid entries
+DDB prune will only sleep at the end of each batch, so if there is only work done at cleanup, no need to sleep at all.

Change-Id: Ibdf63af1f5563489d15166f06b8c8e7c9ebfaec0
@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 43 Docker mode activated.
_ Prechecks _
+1 dupname 2 No case conflicting files found.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 22 new or modified test files.
_ trunk Compile Tests _
0 mvndep 20 Maven dependency ordering for branch
+1 mvninstall 1131 trunk passed
+1 compile 1062 trunk passed
+1 checkstyle 189 trunk passed
+1 mvnsite 137 trunk passed
+1 shadedclient 1101 branch has no errors when building and testing our client artifacts.
+1 javadoc 95 trunk passed
0 spotbugs 79 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 217 trunk passed
-0 patch 113 Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
0 mvndep 22 Maven dependency ordering for patch
+1 mvninstall 91 the patch passed
+1 compile 1100 the patch passed
+1 javac 1100 the patch passed
-0 checkstyle 144 root: The patch generated 61 new + 85 unchanged - 2 fixed = 146 total (was 87)
+1 mvnsite 119 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 xml 2 The patch has no ill-formed XML file.
+1 shadedclient 725 patch has no errors when building and testing our client artifacts.
-1 javadoc 31 hadoop-tools_hadoop-aws generated 3 new + 1 unchanged - 0 fixed = 4 total (was 1)
-1 findbugs 73 hadoop-tools/hadoop-aws generated 2 new + 0 unchanged - 0 fixed = 2 total (was 0)
_ Other Tests _
+1 unit 520 hadoop-common in the patch passed.
+1 unit 288 hadoop-aws in the patch passed.
+1 asflicense 46 The patch does not generate ASF License warnings.
9589
Reason Tests
FindBugs module:hadoop-tools/hadoop-aws
org.apache.hadoop.fs.s3a.s3guard.PathOrderComparators$TopmostFirst implements Comparator but not Serializable At PathOrderComparators.java:Serializable At PathOrderComparators.java:[lines 69-89]
org.apache.hadoop.fs.s3a.s3guard.PathOrderComparators$TopmostLast implements Comparator but not Serializable At PathOrderComparators.java:Serializable At PathOrderComparators.java:[lines 98-109]
Subsystem Report/Notes
Docker Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-654/27/artifact/out/Dockerfile
GITHUB PR #654
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle xml
uname Linux 5298d3f9a220 4.4.0-141-generic #167~14.04.1-Ubuntu SMP Mon Dec 10 13:20:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / 12c8161
Default Java 1.8.0_212
checkstyle https://builds.apache.org/job/hadoop-multibranch/job/PR-654/27/artifact/out/diff-checkstyle-root.txt
javadoc https://builds.apache.org/job/hadoop-multibranch/job/PR-654/27/artifact/out/diff-javadoc-javadoc-hadoop-tools_hadoop-aws.txt
findbugs https://builds.apache.org/job/hadoop-multibranch/job/PR-654/27/artifact/out/new-findbugs-hadoop-tools_hadoop-aws.html
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-654/27/testReport/
Max. process+thread count 1501 (vs. ulimit of 5500)
modules C: hadoop-common-project/hadoop-common hadoop-tools/hadoop-aws U: .
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-654/27/console
versions git=2.7.4 maven=3.3.9 findbugs=3.1.0-RC1
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

Change-Id: Iee6c82070a3c050051ff80dcc03f877d0115c7e0
Change-Id: I4cc830515ce9cce300727d5d73c5c74160951be1
@hadoop-yetus
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
0 reexec 41 Docker mode activated.
_ Prechecks _
+1 dupname 1 No case conflicting files found.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 21 new or modified test files.
_ trunk Compile Tests _
0 mvndep 39 Maven dependency ordering for branch
+1 mvninstall 1158 trunk passed
+1 compile 1060 trunk passed
+1 checkstyle 147 trunk passed
+1 mvnsite 122 trunk passed
+1 shadedclient 1057 branch has no errors when building and testing our client artifacts.
+1 javadoc 94 trunk passed
0 spotbugs 62 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 182 trunk passed
-0 patch 97 Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
0 mvndep 21 Maven dependency ordering for patch
+1 mvninstall 77 the patch passed
+1 compile 972 the patch passed
+1 javac 972 the patch passed
-0 checkstyle 147 root: The patch generated 29 new + 79 unchanged - 2 fixed = 108 total (was 81)
+1 mvnsite 116 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 xml 3 The patch has no ill-formed XML file.
+1 shadedclient 751 patch has no errors when building and testing our client artifacts.
+1 javadoc 93 the patch passed
+1 findbugs 202 the patch passed
_ Other Tests _
+1 unit 518 hadoop-common in the patch passed.
+1 unit 289 hadoop-aws in the patch passed.
+1 asflicense 47 The patch does not generate ASF License warnings.
7134
Subsystem Report/Notes
Docker Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-654/28/artifact/out/Dockerfile
GITHUB PR #654
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle xml
uname Linux f0756a85f48a 4.4.0-141-generic #167~14.04.1-Ubuntu SMP Mon Dec 10 13:20:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / 732133c
Default Java 1.8.0_212
checkstyle https://builds.apache.org/job/hadoop-multibranch/job/PR-654/28/artifact/out/diff-checkstyle-root.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-654/28/testReport/
Max. process+thread count 1491 (vs. ulimit of 5500)
modules C: hadoop-common-project/hadoop-common hadoop-tools/hadoop-aws U: .
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-654/28/console
versions git=2.7.4 maven=3.3.9 findbugs=3.1.0-RC1
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

Change-Id: I518f427a287e72ac5d617d08ec71e24fbd683a14
@hadoop-yetus
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
0 reexec 48 Docker mode activated.
_ Prechecks _
+1 dupname 1 No case conflicting files found.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 21 new or modified test files.
_ trunk Compile Tests _
0 mvndep 69 Maven dependency ordering for branch
+1 mvninstall 1156 trunk passed
+1 compile 1086 trunk passed
+1 checkstyle 149 trunk passed
+1 mvnsite 121 trunk passed
+1 shadedclient 1058 branch has no errors when building and testing our client artifacts.
+1 javadoc 93 trunk passed
0 spotbugs 63 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 185 trunk passed
-0 patch 98 Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
0 mvndep 21 Maven dependency ordering for patch
+1 mvninstall 76 the patch passed
+1 compile 977 the patch passed
+1 javac 977 the patch passed
-0 checkstyle 148 root: The patch generated 12 new + 79 unchanged - 2 fixed = 91 total (was 81)
+1 mvnsite 118 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 xml 2 The patch has no ill-formed XML file.
+1 shadedclient 735 patch has no errors when building and testing our client artifacts.
+1 javadoc 93 the patch passed
+1 findbugs 200 the patch passed
_ Other Tests _
+1 unit 517 hadoop-common in the patch passed.
+1 unit 288 hadoop-aws in the patch passed.
+1 asflicense 46 The patch does not generate ASF License warnings.
7180
Subsystem Report/Notes
Docker Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-654/29/artifact/out/Dockerfile
GITHUB PR #654
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle xml
uname Linux 9d8443beb58b 4.4.0-141-generic #167~14.04.1-Ubuntu SMP Mon Dec 10 13:20:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / 729ccb2
Default Java 1.8.0_212
checkstyle https://builds.apache.org/job/hadoop-multibranch/job/PR-654/29/artifact/out/diff-checkstyle-root.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-654/29/testReport/
Max. process+thread count 1378 (vs. ulimit of 5500)
modules C: hadoop-common-project/hadoop-common hadoop-tools/hadoop-aws U: .
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-654/29/console
versions git=2.7.4 maven=3.3.9 findbugs=3.1.0-RC1
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@steveloughran
Copy link
Contributor Author

Closing this PR and kicking off a new one

@steveloughran steveloughran deleted the s3/HADOOP-15183-s3guard-rename-failures branch May 20, 2019 18:46
shanthoosh pushed a commit to shanthoosh/hadoop that referenced this pull request Oct 15, 2019
## What changes were proposed in this pull request?
This PR is to implement Samza SQL shell. The document about the shell was attached [here](https://issues.apache.org/jira/browse/SAMZA-1901).

## How was this patch tested?
1. Add unit tests
2. Run the shell with use cases mentioned in the attached document under https://issues.apache.org/jira/browse/SAMZA-1901

Author: Weiqing Yang <[email protected]>

Reviewers: Srinivasulu Punuru <[email protected]>, Aditya Toomula <[email protected]>

Closes apache#654 from weiqingy/samza-shell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fs/s3 changes related to hadoop-aws; submitter must declare test endpoint

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants