Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HADOOP-17612. Upgrade Zookeeper to 3.6.3 and Curator to 5.2.0 #5067

Open
wants to merge 13 commits into
base: branch-3.3
Choose a base branch
from

Conversation

melissayou
Copy link
Contributor

@melissayou melissayou commented Oct 23, 2022

Description of PR

This includes cherry-picks from commit ccfa072 ,23e2a0b ,84110d8, 86b84ed, 0db3ee5 in trunk to upgrade zookeeper and curator.
It's a nested change but every cherry pick is clean.
ccfa072 #3241
23e2a0b #3266
84110d8 #2047
86b84ed #4885
0db3ee5 #4812
Two minor modifications are adding suppress warning annotation intestMultiNodeTokenRemovalShortSyncWithoutWatch() and testMultiNodeTokenRemovalLongSyncWithoutWatch() methods in TestZKDelegationTokenSecretManagerImpl. See comment .

How was this patch tested?

mvn clean install -Pdist -Dtar -DskipTests -Dmaven.javadoc.skip builds successfully

For code changes:

  • Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
  • Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
  • If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
  • If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 7m 11s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 1s No case conflicting files found.
+0 🆗 codespell 0m 0s codespell was not available.
+0 🆗 detsecrets 0m 0s detect-secrets was not available.
+0 🆗 xmllint 0m 0s xmllint was not available.
+0 🆗 shelldocs 0m 0s Shelldocs was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 3 new or modified test files.
_ branch-3.3 Compile Tests _
+0 🆗 mvndep 15m 35s Maven dependency ordering for branch
+1 💚 mvninstall 24m 12s branch-3.3 passed
+1 💚 compile 18m 7s branch-3.3 passed
+1 💚 checkstyle 3m 4s branch-3.3 passed
+1 💚 mvnsite 20m 39s branch-3.3 passed
+1 💚 javadoc 7m 11s branch-3.3 passed
+0 🆗 spotbugs 0m 28s branch/hadoop-project no spotbugs output file (spotbugsXml.xml)
+1 💚 shadedclient 56m 7s branch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 45s Maven dependency ordering for patch
+1 💚 mvninstall 28m 28s the patch passed
+1 💚 compile 17m 39s the patch passed
+1 💚 javac 17m 39s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
-0 ⚠️ checkstyle 2m 57s /results-checkstyle-root.txt root: The patch generated 1 new + 376 unchanged - 3 fixed = 377 total (was 379)
+1 💚 mvnsite 20m 11s the patch passed
+1 💚 shellcheck 0m 0s No new issues.
+1 💚 javadoc 6m 56s the patch passed
+0 🆗 spotbugs 0m 28s hadoop-project has no data from spotbugs
+1 💚 shadedclient 56m 33s patch has no errors when building and testing our client artifacts.
_ Other Tests _
-1 ❌ unit 695m 9s /patch-unit-root.txt root in the patch passed.
+1 💚 asflicense 2m 8s The patch does not generate ASF License warnings.
1017m 46s
Reason Tests
Failed junit tests hadoop.yarn.server.timelineservice.security.TestTimelineAuthFilterForV2
hadoop.security.token.delegation.TestZKDelegationTokenSecretManager
hadoop.hdfs.server.blockmanagement.TestUnderReplicatedBlocks
hadoop.yarn.sls.appmaster.TestAMSimulator
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5067/1/artifact/out/Dockerfile
GITHUB PR #5067
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient codespell detsecrets xmllint spotbugs checkstyle shellcheck shelldocs
uname Linux c11aa5458841 4.15.0-191-generic #202-Ubuntu SMP Thu Aug 4 01:49:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision branch-3.3 / a9a9910
Default Java Private Build-1.8.0_342-8u342-b07-0ubuntu1~18.04-b07
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5067/1/testReport/
Max. process+thread count 2848 (vs. ulimit of 5500)
modules C: hadoop-project hadoop-common-project/hadoop-auth hadoop-common-project/hadoop-common hadoop-common-project/hadoop-registry hadoop-hdfs-project/hadoop-hdfs hadoop-hdfs-project/hadoop-hdfs-nfs hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-mawo/hadoop-yarn-applications-mawo-core . U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5067/1/console
versions git=2.17.1 maven=3.6.0 spotbugs=4.2.2 shellcheck=0.4.6
Powered by Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

fengnanli and others added 2 commits October 23, 2022 13:57
apache#2047)

Improving router's performance for delegation tokens related operations. It achieves the goal by removing watchers from router on tokens since based on our experience. The huge number of watches inside Zookeeper is degrading Zookeeper's performance pretty hard. The current limit is about 1.2-1.5 million.
@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 0m 46s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 1s No case conflicting files found.
+0 🆗 codespell 0m 0s codespell was not available.
+0 🆗 detsecrets 0m 0s detect-secrets was not available.
+0 🆗 xmllint 0m 0s xmllint was not available.
+0 🆗 shelldocs 0m 0s Shelldocs was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 4 new or modified test files.
_ branch-3.3 Compile Tests _
+0 🆗 mvndep 16m 0s Maven dependency ordering for branch
+1 💚 mvninstall 24m 0s branch-3.3 passed
+1 💚 compile 18m 11s branch-3.3 passed
+1 💚 checkstyle 3m 0s branch-3.3 passed
+1 💚 mvnsite 20m 45s branch-3.3 passed
+1 💚 javadoc 7m 14s branch-3.3 passed
+0 🆗 spotbugs 0m 30s branch/hadoop-project no spotbugs output file (spotbugsXml.xml)
+1 💚 shadedclient 56m 29s branch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 45s Maven dependency ordering for patch
+1 💚 mvninstall 30m 4s the patch passed
+1 💚 compile 17m 41s the patch passed
-1 ❌ javac 17m 41s /results-compile-javac-root.txt root generated 2 new + 1861 unchanged - 2 fixed = 1863 total (was 1863)
-1 ❌ blanks 0m 0s /blanks-eol.txt The patch has 2 line(s) that end in blanks. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply
-0 ⚠️ checkstyle 2m 57s /results-checkstyle-root.txt root: The patch generated 20 new + 398 unchanged - 4 fixed = 418 total (was 402)
+1 💚 mvnsite 20m 17s the patch passed
+1 💚 shellcheck 0m 0s No new issues.
+1 💚 javadoc 6m 53s the patch passed
+0 🆗 spotbugs 0m 26s hadoop-project has no data from spotbugs
+1 💚 shadedclient 56m 21s patch has no errors when building and testing our client artifacts.
_ Other Tests _
-1 ❌ unit 693m 11s /patch-unit-root.txt root in the patch passed.
+1 💚 asflicense 2m 6s The patch does not generate ASF License warnings.
1014m 9s
Reason Tests
Failed junit tests hadoop.yarn.server.resourcemanager.metrics.TestCombinedSystemMetricsPublisher
hadoop.yarn.sls.appmaster.TestAMSimulator
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5067/2/artifact/out/Dockerfile
GITHUB PR #5067
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient codespell detsecrets xmllint spotbugs checkstyle shellcheck shelldocs
uname Linux 6c2d3af91f15 4.15.0-191-generic #202-Ubuntu SMP Thu Aug 4 01:49:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision branch-3.3 / b0f6cc1
Default Java Private Build-1.8.0_342-8u342-b07-0ubuntu1~18.04-b07
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5067/2/testReport/
Max. process+thread count 2867 (vs. ulimit of 5500)
modules C: hadoop-project hadoop-common-project/hadoop-auth hadoop-common-project/hadoop-common hadoop-common-project/hadoop-registry hadoop-hdfs-project/hadoop-hdfs hadoop-hdfs-project/hadoop-hdfs-nfs hadoop-hdfs-project/hadoop-hdfs-rbf hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-mawo/hadoop-yarn-applications-mawo-core . U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5067/2/console
versions git=2.17.1 maven=3.6.0 spotbugs=4.2.2 shellcheck=0.4.6
Powered by Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 0m 37s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+0 🆗 codespell 0m 0s codespell was not available.
+0 🆗 detsecrets 0m 0s detect-secrets was not available.
+0 🆗 xmllint 0m 0s xmllint was not available.
+0 🆗 shelldocs 0m 0s Shelldocs was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 4 new or modified test files.
_ branch-3.3 Compile Tests _
+0 🆗 mvndep 15m 13s Maven dependency ordering for branch
+1 💚 mvninstall 24m 3s branch-3.3 passed
+1 💚 compile 18m 7s branch-3.3 passed
+1 💚 checkstyle 3m 1s branch-3.3 passed
+1 💚 mvnsite 20m 40s branch-3.3 passed
+1 💚 javadoc 7m 8s branch-3.3 passed
+0 🆗 spotbugs 0m 28s branch/hadoop-project no spotbugs output file (spotbugsXml.xml)
+1 💚 shadedclient 56m 12s branch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 45s Maven dependency ordering for patch
+1 💚 mvninstall 30m 0s the patch passed
+1 💚 compile 17m 50s the patch passed
-1 ❌ javac 17m 50s /results-compile-javac-root.txt root generated 1 new + 1859 unchanged - 4 fixed = 1860 total (was 1863)
-1 ❌ blanks 0m 0s /blanks-eol.txt The patch has 2 line(s) that end in blanks. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply
-0 ⚠️ checkstyle 2m 57s /results-checkstyle-root.txt root: The patch generated 20 new + 398 unchanged - 4 fixed = 418 total (was 402)
+1 💚 mvnsite 20m 14s the patch passed
+1 💚 shellcheck 0m 0s No new issues.
+1 💚 javadoc 6m 53s the patch passed
+0 🆗 spotbugs 0m 26s hadoop-project has no data from spotbugs
+1 💚 shadedclient 56m 18s patch has no errors when building and testing our client artifacts.
_ Other Tests _
-1 ❌ unit 697m 50s /patch-unit-root.txt root in the patch passed.
+1 💚 asflicense 2m 16s The patch does not generate ASF License warnings.
1017m 55s
Reason Tests
Failed junit tests hadoop.hdfs.server.balancer.TestBalancer
hadoop.hdfs.server.datanode.TestDataNodeRollingUpgrade
hadoop.hdfs.server.datanode.TestBPOfferService
hadoop.hdfs.server.namenode.ha.TestInitializeSharedEdits
hadoop.hdfs.server.blockmanagement.TestUnderReplicatedBlocks
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5067/3/artifact/out/Dockerfile
GITHUB PR #5067
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient codespell detsecrets xmllint spotbugs checkstyle shellcheck shelldocs
uname Linux cd267819e341 4.15.0-191-generic #202-Ubuntu SMP Thu Aug 4 01:49:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision branch-3.3 / bf18e6d
Default Java Private Build-1.8.0_342-8u342-b07-0ubuntu1~18.04-b07
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5067/3/testReport/
Max. process+thread count 2754 (vs. ulimit of 5500)
modules C: hadoop-project hadoop-common-project/hadoop-auth hadoop-common-project/hadoop-common hadoop-common-project/hadoop-registry hadoop-hdfs-project/hadoop-hdfs hadoop-hdfs-project/hadoop-hdfs-nfs hadoop-hdfs-project/hadoop-hdfs-rbf hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-mawo/hadoop-yarn-applications-mawo-core . U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5067/3/console
versions git=2.17.1 maven=3.6.0 spotbugs=4.2.2 shellcheck=0.4.6
Powered by Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 0m 39s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 1s No case conflicting files found.
+0 🆗 codespell 0m 0s codespell was not available.
+0 🆗 detsecrets 0m 0s detect-secrets was not available.
+0 🆗 xmllint 0m 0s xmllint was not available.
+0 🆗 shelldocs 0m 0s Shelldocs was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 4 new or modified test files.
_ branch-3.3 Compile Tests _
+0 🆗 mvndep 15m 41s Maven dependency ordering for branch
+1 💚 mvninstall 23m 56s branch-3.3 passed
+1 💚 compile 18m 10s branch-3.3 passed
+1 💚 checkstyle 3m 4s branch-3.3 passed
+1 💚 mvnsite 20m 39s branch-3.3 passed
+1 💚 javadoc 7m 34s branch-3.3 passed
+0 🆗 spotbugs 0m 28s branch/hadoop-project no spotbugs output file (spotbugsXml.xml)
+1 💚 shadedclient 56m 9s branch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 39s Maven dependency ordering for patch
+1 💚 mvninstall 29m 24s the patch passed
+1 💚 compile 17m 43s the patch passed
-1 ❌ javac 17m 43s /results-compile-javac-root.txt root generated 1 new + 1859 unchanged - 4 fixed = 1860 total (was 1863)
+1 💚 blanks 0m 0s The patch has no blanks issues.
-0 ⚠️ checkstyle 3m 0s /results-checkstyle-root.txt root: The patch generated 20 new + 398 unchanged - 4 fixed = 418 total (was 402)
+1 💚 mvnsite 20m 22s the patch passed
+1 💚 shellcheck 0m 0s No new issues.
+1 💚 javadoc 6m 57s the patch passed
+0 🆗 spotbugs 0m 26s hadoop-project has no data from spotbugs
+1 💚 shadedclient 62m 35s patch has no errors when building and testing our client artifacts.
_ Other Tests _
-1 ❌ unit 695m 30s /patch-unit-root.txt root in the patch passed.
+1 💚 asflicense 2m 6s The patch does not generate ASF License warnings.
1022m 8s
Reason Tests
Failed junit tests hadoop.hdfs.server.balancer.TestBalancer
hadoop.hdfs.server.datanode.TestBPOfferService
hadoop.hdfs.server.balancer.TestBalancerWithHANameNodes
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5067/5/artifact/out/Dockerfile
GITHUB PR #5067
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient codespell detsecrets xmllint spotbugs checkstyle shellcheck shelldocs
uname Linux 8a8ac03c31e1 4.15.0-191-generic #202-Ubuntu SMP Thu Aug 4 01:49:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision branch-3.3 / 8c681fb
Default Java Private Build-1.8.0_342-8u342-b07-0ubuntu1~18.04-b07
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5067/5/testReport/
Max. process+thread count 3065 (vs. ulimit of 5500)
modules C: hadoop-project hadoop-common-project/hadoop-auth hadoop-common-project/hadoop-common hadoop-common-project/hadoop-registry hadoop-hdfs-project/hadoop-hdfs hadoop-hdfs-project/hadoop-hdfs-nfs hadoop-hdfs-project/hadoop-hdfs-rbf hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-mawo/hadoop-yarn-applications-mawo-core . U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5067/5/console
versions git=2.17.1 maven=3.6.0 spotbugs=4.2.2 shellcheck=0.4.6
Powered by Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

@jojochuang
Copy link
Contributor

Please check if the failed tests are relevant.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 10m 56s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+0 🆗 codespell 0m 0s codespell was not available.
+0 🆗 detsecrets 0m 0s detect-secrets was not available.
+0 🆗 xmllint 0m 0s xmllint was not available.
+0 🆗 shelldocs 0m 1s Shelldocs was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 4 new or modified test files.
_ branch-3.3 Compile Tests _
+0 🆗 mvndep 15m 30s Maven dependency ordering for branch
+1 💚 mvninstall 24m 11s branch-3.3 passed
+1 💚 compile 18m 23s branch-3.3 passed
+1 💚 checkstyle 3m 6s branch-3.3 passed
+1 💚 mvnsite 20m 34s branch-3.3 passed
+1 💚 javadoc 7m 6s branch-3.3 passed
+0 🆗 spotbugs 0m 28s branch/hadoop-project no spotbugs output file (spotbugsXml.xml)
+1 💚 shadedclient 56m 1s branch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 42s Maven dependency ordering for patch
+1 💚 mvninstall 29m 14s the patch passed
+1 💚 compile 17m 38s the patch passed
+1 💚 javac 17m 38s root generated 0 new + 1860 unchanged - 3 fixed = 1860 total (was 1863)
-1 ❌ blanks 0m 0s /blanks-eol.txt The patch has 4 line(s) that end in blanks. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply
-0 ⚠️ checkstyle 2m 59s /results-checkstyle-root.txt root: The patch generated 4 new + 397 unchanged - 5 fixed = 401 total (was 402)
+1 💚 mvnsite 20m 29s the patch passed
+1 💚 shellcheck 0m 0s No new issues.
+1 💚 javadoc 6m 56s the patch passed
+0 🆗 spotbugs 0m 29s hadoop-project has no data from spotbugs
+1 💚 shadedclient 56m 53s patch has no errors when building and testing our client artifacts.
_ Other Tests _
-1 ❌ unit 755m 18s /patch-unit-root.txt root in the patch passed.
+1 💚 asflicense 2m 10s The patch does not generate ASF License warnings.
1085m 45s
Reason Tests
Failed junit tests hadoop.hdfs.server.balancer.TestBalancerWithHANameNodes
hadoop.hdfs.server.datanode.TestDataNodeRollingUpgrade
hadoop.hdfs.server.datanode.TestBPOfferService
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5067/6/artifact/out/Dockerfile
GITHUB PR #5067
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient codespell detsecrets xmllint spotbugs checkstyle shellcheck shelldocs
uname Linux dca2d925b0f4 4.15.0-191-generic #202-Ubuntu SMP Thu Aug 4 01:49:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision branch-3.3 / 0c088e8
Default Java Private Build-1.8.0_342-8u342-b07-0ubuntu1~18.04-b07
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5067/6/testReport/
Max. process+thread count 2467 (vs. ulimit of 5500)
modules C: hadoop-project hadoop-common-project/hadoop-auth hadoop-common-project/hadoop-common hadoop-common-project/hadoop-registry hadoop-hdfs-project/hadoop-hdfs hadoop-hdfs-project/hadoop-hdfs-nfs hadoop-hdfs-project/hadoop-hdfs-rbf hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-mawo/hadoop-yarn-applications-mawo-core . U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5067/6/console
versions git=2.17.1 maven=3.6.0 spotbugs=4.2.2 shellcheck=0.4.6
Powered by Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 0m 44s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 1s No case conflicting files found.
+0 🆗 codespell 0m 0s codespell was not available.
+0 🆗 detsecrets 0m 0s detect-secrets was not available.
+0 🆗 xmllint 0m 0s xmllint was not available.
+0 🆗 shelldocs 0m 0s Shelldocs was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 4 new or modified test files.
_ branch-3.3 Compile Tests _
+0 🆗 mvndep 15m 26s Maven dependency ordering for branch
-1 ❌ mvninstall 21m 14s /branch-mvninstall-root.txt root in branch-3.3 failed.
+1 💚 compile 18m 41s branch-3.3 passed
+1 💚 checkstyle 3m 6s branch-3.3 passed
+1 💚 mvnsite 20m 45s branch-3.3 passed
+1 💚 javadoc 7m 17s branch-3.3 passed
+0 🆗 spotbugs 0m 28s branch/hadoop-project no spotbugs output file (spotbugsXml.xml)
+1 💚 shadedclient 56m 9s branch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 43s Maven dependency ordering for patch
+1 💚 mvninstall 29m 37s the patch passed
+1 💚 compile 17m 40s the patch passed
+1 💚 javac 17m 40s root generated 0 new + 1860 unchanged - 3 fixed = 1860 total (was 1863)
+1 💚 blanks 0m 0s The patch has no blanks issues.
-0 ⚠️ checkstyle 3m 3s /results-checkstyle-root.txt root: The patch generated 4 new + 397 unchanged - 5 fixed = 401 total (was 402)
+1 💚 mvnsite 20m 10s the patch passed
+1 💚 shellcheck 0m 0s No new issues.
+1 💚 javadoc 6m 52s the patch passed
+0 🆗 spotbugs 0m 32s hadoop-project has no data from spotbugs
+1 💚 shadedclient 56m 12s patch has no errors when building and testing our client artifacts.
_ Other Tests _
-1 ❌ unit 699m 29s /patch-unit-root.txt root in the patch passed.
+1 💚 asflicense 2m 11s The patch does not generate ASF License warnings.
1017m 25s
Reason Tests
Failed junit tests hadoop.yarn.server.nodemanager.amrmproxy.TestFederationInterceptor
hadoop.yarn.server.nodemanager.containermanager.logaggregation.TestLogAggregationService
hadoop.fs.http.client.TestHttpFSFWithWebhdfsFileSystem
hadoop.fs.http.client.TestHttpFSFWithSWebhdfsFileSystem
hadoop.hdfs.server.datanode.TestDataNodeRollingUpgrade
hadoop.hdfs.server.datanode.TestDataNodeErasureCodingMetrics
hadoop.hdfs.server.datanode.TestBPOfferService
hadoop.yarn.sls.appmaster.TestAMSimulator
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5067/7/artifact/out/Dockerfile
GITHUB PR #5067
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient codespell detsecrets xmllint spotbugs checkstyle shellcheck shelldocs
uname Linux 427407e1abf9 4.15.0-191-generic #202-Ubuntu SMP Thu Aug 4 01:49:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision branch-3.3 / 97dac96
Default Java Private Build-1.8.0_342-8u342-b07-0ubuntu1~18.04-b07
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5067/7/testReport/
Max. process+thread count 2843 (vs. ulimit of 5500)
modules C: hadoop-project hadoop-common-project/hadoop-auth hadoop-common-project/hadoop-common hadoop-common-project/hadoop-registry hadoop-hdfs-project/hadoop-hdfs hadoop-hdfs-project/hadoop-hdfs-nfs hadoop-hdfs-project/hadoop-hdfs-rbf hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-mawo/hadoop-yarn-applications-mawo-core . U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5067/7/console
versions git=2.17.1 maven=3.6.0 spotbugs=4.2.2 shellcheck=0.4.6
Powered by Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

@melissayou
Copy link
Contributor Author

checkstyle fails due to 4 errors but all these 4 exist in trunk.
unit test are unrelated to my changes. Evidence:
(1)Without change(empty commits or fixing checkstyles), different unit test fail every build and thus seem flaky.
(2)No consistent error except TestBPOfferService which has an existing issue discussed in #2419
mvninstall failed in the latest build. It's def not related to my change. I retriggered the build.

Can you review the change and latest build to see if anything else to fix? Once mvninstall in new build passes, this change is ready.
@xinglin @virajith @omalley

@xinglin
Copy link
Contributor

xinglin commented Oct 28, 2022

confirmed that these 4 checkstyle complaints also happen in trunk. Not related with this PR.

Copy link
Contributor

@xinglin xinglin left a comment

Choose a reason for hiding this comment

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

Thanks for working on backporting this series of PRs!

Besides having no context on why synchronized keyword was removed at a few places, changes look good to me.

@@ -417,24 +408,18 @@ private void processTokenAddOrUpdate(byte[] data) throws IOException {
if (numRead > -1) {
DelegationTokenInformation tokenInfo =
new DelegationTokenInformation(renewDate, password);
synchronized (this) {
Copy link
Contributor

Choose a reason for hiding this comment

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

This change removes a few synchronized keywords. I cross-check with trunk and trunk also removes these. seems fine but I have no context on why synchronized was used before and now removed.

Copy link
Contributor Author

@melissayou melissayou Oct 28, 2022

Choose a reason for hiding this comment

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

It was introduced from https://github.com/apache/hadoop/pull/2047/files
I don't get the full context of that change but in AbstractDelegationTokenSecretManager.java, they changed implementations of currentTokens and allKeys from hashmap (not thread safe) to concurrentHashMap(thread safe). That's why they removed synchronized as it's a duplicate protection.

@@ -101,6 +101,7 @@ public void testMultiNodeOperationWithoutWatch() throws Exception {
}
}

@SuppressWarnings("unchecked")
Copy link
Contributor

Choose a reason for hiding this comment

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

trunk does not suppress here. Maybe we shouldn't neither?

@@ -162,6 +162,7 @@ public void testMultiNodeTokenRemovalShortSyncWithoutWatch()

// This is very unlikely to happen in real case, but worth putting
// the case out
@SuppressWarnings("unchecked")
Copy link
Contributor

Choose a reason for hiding this comment

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

trunk does not have suppress here.

Copy link
Contributor Author

@melissayou melissayou Oct 28, 2022

Choose a reason for hiding this comment

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

Yes it was added by me to fix failed javac problem reported in earlier builds. There're two similar places(line135&201) and either will fail javac.

So two ways:

  1. Keep it in sync with trunk and let javac fail for this PR.
  2. (What I did here) fix it by adding suppress warning here as I'm pretty confident those types are correct. This test file is inconsistent - you can see the untouched method testMultiNodeOperationWithoutWatch() has the exact same problem and has suppress warning. So I think it's applicable to the other two methods as well.

Copy link
Contributor

Choose a reason for hiding this comment

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

I agree with you. Either way is fine. Will defer to @omalley for which approach to take on here.

@xinglin
Copy link
Contributor

xinglin commented Oct 28, 2022

fyi, created a PR for fixing TestBPOfferService in branch-3.3.

#5089

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 0m 46s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 1s No case conflicting files found.
+0 🆗 codespell 0m 0s codespell was not available.
+0 🆗 detsecrets 0m 0s detect-secrets was not available.
+0 🆗 xmllint 0m 0s xmllint was not available.
+0 🆗 shelldocs 0m 0s Shelldocs was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 4 new or modified test files.
_ branch-3.3 Compile Tests _
+0 🆗 mvndep 15m 53s Maven dependency ordering for branch
+1 💚 mvninstall 24m 4s branch-3.3 passed
+1 💚 compile 18m 19s branch-3.3 passed
+1 💚 checkstyle 3m 10s branch-3.3 passed
+1 💚 mvnsite 20m 29s branch-3.3 passed
+1 💚 javadoc 7m 10s branch-3.3 passed
+0 🆗 spotbugs 0m 34s branch/hadoop-project no spotbugs output file (spotbugsXml.xml)
+1 💚 shadedclient 56m 0s branch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 43s Maven dependency ordering for patch
+1 💚 mvninstall 29m 48s the patch passed
+1 💚 compile 17m 35s the patch passed
+1 💚 javac 17m 35s root generated 0 new + 1860 unchanged - 3 fixed = 1860 total (was 1863)
+1 💚 blanks 0m 0s The patch has no blanks issues.
-0 ⚠️ checkstyle 2m 58s /results-checkstyle-root.txt root: The patch generated 4 new + 397 unchanged - 5 fixed = 401 total (was 402)
+1 💚 mvnsite 20m 7s the patch passed
+1 💚 shellcheck 0m 0s No new issues.
+1 💚 javadoc 6m 57s the patch passed
+0 🆗 spotbugs 0m 28s hadoop-project has no data from spotbugs
+1 💚 shadedclient 56m 11s patch has no errors when building and testing our client artifacts.
_ Other Tests _
-1 ❌ unit 696m 28s /patch-unit-root.txt root in the patch passed.
+1 💚 asflicense 2m 17s The patch does not generate ASF License warnings.
1017m 11s
Reason Tests
Failed junit tests hadoop.yarn.server.timelineservice.security.TestTimelineAuthFilterForV2
hadoop.hdfs.server.balancer.TestBalancer
hadoop.hdfs.server.datanode.TestDataNodeRollingUpgrade
hadoop.hdfs.server.sps.TestExternalStoragePolicySatisfier
hadoop.hdfs.server.datanode.TestBPOfferService
hadoop.hdfs.server.blockmanagement.TestPendingInvalidateBlock
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5067/8/artifact/out/Dockerfile
GITHUB PR #5067
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient codespell detsecrets xmllint spotbugs checkstyle shellcheck shelldocs
uname Linux 29b86f5b4966 4.15.0-191-generic #202-Ubuntu SMP Thu Aug 4 01:49:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision branch-3.3 / 7880263
Default Java Private Build-1.8.0_342-8u342-b07-0ubuntu1~18.04-b07
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5067/8/testReport/
Max. process+thread count 3095 (vs. ulimit of 5500)
modules C: hadoop-project hadoop-common-project/hadoop-auth hadoop-common-project/hadoop-common hadoop-common-project/hadoop-registry hadoop-hdfs-project/hadoop-hdfs hadoop-hdfs-project/hadoop-hdfs-nfs hadoop-hdfs-project/hadoop-hdfs-rbf hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-mawo/hadoop-yarn-applications-mawo-core . U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5067/8/console
versions git=2.17.1 maven=3.6.0 spotbugs=4.2.2 shellcheck=0.4.6
Powered by Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 0m 52s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+0 🆗 codespell 0m 0s codespell was not available.
+0 🆗 detsecrets 0m 0s detect-secrets was not available.
+0 🆗 xmllint 0m 0s xmllint was not available.
+0 🆗 shelldocs 0m 1s Shelldocs was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 4 new or modified test files.
_ branch-3.3 Compile Tests _
+0 🆗 mvndep 16m 8s Maven dependency ordering for branch
+1 💚 mvninstall 24m 9s branch-3.3 passed
+1 💚 compile 18m 20s branch-3.3 passed
+1 💚 checkstyle 3m 5s branch-3.3 passed
+1 💚 mvnsite 20m 45s branch-3.3 passed
+1 💚 javadoc 7m 14s branch-3.3 passed
+0 🆗 spotbugs 0m 28s branch/hadoop-project no spotbugs output file (spotbugsXml.xml)
+1 💚 shadedclient 55m 54s branch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 43s Maven dependency ordering for patch
+1 💚 mvninstall 29m 40s the patch passed
+1 💚 compile 17m 47s the patch passed
+1 💚 javac 17m 47s root generated 0 new + 1860 unchanged - 3 fixed = 1860 total (was 1863)
+1 💚 blanks 0m 0s The patch has no blanks issues.
-0 ⚠️ checkstyle 2m 59s /results-checkstyle-root.txt root: The patch generated 4 new + 397 unchanged - 5 fixed = 401 total (was 402)
+1 💚 mvnsite 20m 25s the patch passed
+1 💚 shellcheck 0m 0s No new issues.
+1 💚 javadoc 6m 56s the patch passed
+0 🆗 spotbugs 0m 27s hadoop-project has no data from spotbugs
+1 💚 shadedclient 56m 19s patch has no errors when building and testing our client artifacts.
_ Other Tests _
-1 ❌ unit 713m 1s /patch-unit-root.txt root in the patch passed.
+1 💚 asflicense 2m 14s The patch does not generate ASF License warnings.
1033m 8s
Reason Tests
Failed junit tests hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacitySchedulerAutoQueueCreation
hadoop.yarn.client.TestHedgingRequestRMFailoverProxyProvider
hadoop.security.token.delegation.TestZKDelegationTokenSecretManager
hadoop.hdfs.TestDecommissionWithBackoffMonitor
hadoop.hdfs.server.datanode.TestDataNodeRollingUpgrade
hadoop.hdfs.server.balancer.TestBalancerWithHANameNodes
hadoop.hdfs.server.blockmanagement.TestUnderReplicatedBlocks
hadoop.yarn.sls.appmaster.TestAMSimulator
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5067/9/artifact/out/Dockerfile
GITHUB PR #5067
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient codespell detsecrets xmllint spotbugs checkstyle shellcheck shelldocs
uname Linux ec22dd5c5722 4.15.0-191-generic #202-Ubuntu SMP Thu Aug 4 01:49:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision branch-3.3 / 9429be9
Default Java Private Build-1.8.0_342-8u342-b07-0ubuntu1~18.04-b07
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5067/9/testReport/
Max. process+thread count 2835 (vs. ulimit of 5500)
modules C: hadoop-project hadoop-common-project/hadoop-auth hadoop-common-project/hadoop-common hadoop-common-project/hadoop-registry hadoop-hdfs-project/hadoop-hdfs hadoop-hdfs-project/hadoop-hdfs-nfs hadoop-hdfs-project/hadoop-hdfs-rbf hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-mawo/hadoop-yarn-applications-mawo-core . U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5067/9/console
versions git=2.17.1 maven=3.6.0 spotbugs=4.2.2 shellcheck=0.4.6
Powered by Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants