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-18088. Replace log4j 1.x with reload4j. #4052

Merged
merged 5 commits into from
Apr 6, 2022

Conversation

iwasakims
Copy link
Member

No description provided.

@iwasakims
Copy link
Member Author

Tarball built by mvn clean install -DskipTests -Pdist worked as expected for launching pseudo-distributed cluster and running example MR jobs.

$ bin/hadoop classpath --glob | sed -z 's/:/\n/g' | grep log4j
$ bin/hadoop classpath --glob | sed -z 's/:/\n/g' | grep reload4j
/home/rocky/dist/HADOOP-18088/share/hadoop/common/lib/reload4j-1.2.18.3.jar
/home/rocky/dist/HADOOP-18088/share/hadoop/common/lib/slf4j-reload4j-1.7.35.jar
/home/rocky/dist/HADOOP-18088/share/hadoop/hdfs/lib/reload4j-1.2.18.3.jar
/home/rocky/dist/HADOOP-18088/share/hadoop/hdfs/lib/slf4j-reload4j-1.7.35.jar

Running tutorial code on spark-shell --master yarn with spark-3.2.1-bin-without-hadoop worked same as tarball of Hadoop 3.3.2.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 13m 39s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 1s No case conflicting files found.
+0 🆗 codespell 0m 0s codespell 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 1 new or modified test files.
_ branch-3.3 Compile Tests _
+0 🆗 mvndep 3m 36s Maven dependency ordering for branch
+1 💚 mvninstall 34m 24s branch-3.3 passed
+1 💚 compile 22m 7s branch-3.3 passed
+1 💚 checkstyle 3m 10s branch-3.3 passed
+1 💚 mvnsite 28m 3s branch-3.3 passed
+1 💚 javadoc 8m 58s branch-3.3 passed
+0 🆗 spotbugs 0m 19s branch/hadoop-project no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 24s branch/hadoop-client-modules/hadoop-client no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 24s branch/hadoop-client-modules/hadoop-client-check-invariants no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 27s branch/hadoop-client-modules/hadoop-client-check-test-invariants no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 26s branch/hadoop-client-modules/hadoop-client-integration-tests no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 27s branch/hadoop-client-modules/hadoop-client-minicluster no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 24s branch/hadoop-client-modules/hadoop-client-runtime no spotbugs output file (spotbugsXml.xml)
+1 💚 shadedclient 28m 32s 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 54m 57s the patch passed
+1 💚 compile 17m 37s the patch passed
+1 💚 javac 17m 37s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
+1 💚 checkstyle 2m 43s the patch passed
+1 💚 mvnsite 20m 51s the patch passed
+1 💚 shellcheck 0m 0s No new issues.
+1 💚 xml 0m 42s The patch has no ill-formed XML file.
+1 💚 javadoc 7m 41s the patch passed
+0 🆗 spotbugs 0m 16s hadoop-project has no data from spotbugs
+0 🆗 spotbugs 0m 19s hadoop-client-modules/hadoop-client has no data from spotbugs
+0 🆗 spotbugs 0m 20s hadoop-client-modules/hadoop-client-runtime has no data from spotbugs
+0 🆗 spotbugs 0m 20s hadoop-client-modules/hadoop-client-check-invariants has no data from spotbugs
+0 🆗 spotbugs 0m 20s hadoop-client-modules/hadoop-client-minicluster has no data from spotbugs
+0 🆗 spotbugs 0m 18s hadoop-client-modules/hadoop-client-check-test-invariants has no data from spotbugs
+0 🆗 spotbugs 0m 20s hadoop-client-modules/hadoop-client-integration-tests has no data from spotbugs
+1 💚 shadedclient 24m 37s patch has no errors when building and testing our client artifacts.
_ Other Tests _
-1 ❌ unit 705m 5s /patch-unit-root.txt root in the patch passed.
+1 💚 asflicense 1m 15s The patch does not generate ASF License warnings.
1144m 1s
Reason Tests
Failed junit tests hadoop.yarn.applications.distributedshell.TestDistributedShell
hadoop.yarn.client.api.impl.TestAMRMClient
hadoop.fs.http.client.TestHttpFSFWithWebhdfsFileSystem
hadoop.hdfs.server.datanode.TestDirectoryScanner
hadoop.hdfs.tools.offlineImageViewer.TestOfflineImageViewer
hadoop.hdfs.server.balancer.TestBalancer
hadoop.hdfs.TestRollingUpgrade
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4052/1/artifact/out/Dockerfile
GITHUB PR #4052
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient codespell xml spotbugs checkstyle shellcheck shelldocs
uname Linux 857c795fefc4 4.15.0-166-generic #174-Ubuntu SMP Wed Dec 8 19:07:44 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision branch-3.3 / 803bef438bb59702cbfcd14497f8175ce4adc68c
Default Java Private Build-1.8.0_312-8u312-b07-0ubuntu1~18.04-b07
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4052/1/testReport/
Max. process+thread count 2288 (vs. ulimit of 5500)
modules C: hadoop-project hadoop-common-project/hadoop-minikdc hadoop-common-project/hadoop-auth hadoop-common-project/hadoop-auth-examples hadoop-common-project/hadoop-common hadoop-common-project/hadoop-nfs hadoop-common-project/hadoop-kms hadoop-common-project/hadoop-registry hadoop-hdfs-project/hadoop-hdfs-client hadoop-hdfs-project/hadoop-hdfs hadoop-hdfs-project/hadoop-hdfs-httpfs hadoop-hdfs-project/hadoop-hdfs-nfs hadoop-hdfs-project/hadoop-hdfs-rbf hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common 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-server/hadoop-yarn-server-timelineservice-hbase/hadoop-yarn-server-timelineservice-hbase-common hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase/hadoop-yarn-server-timelineservice-hbase-client hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase/hadoop-yarn-server-timelineservice-hbase-server/hadoop-yarn-server-timelineservice-hbase-server-1 hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase-tests hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell hadoop-mapreduce-project/hadoop-mapreduce-client hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-core hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-mawo/hadoop-yarn-applications-mawo-core hadoop-mapreduce-project hadoop-client-modules/hadoop-client hadoop-tools/hadoop-azure hadoop-client-modules/hadoop-client-runtime hadoop-client-modules/hadoop-client-check-invariants hadoop-client-modules/hadoop-client-minicluster hadoop-client-modules/hadoop-client-check-test-invariants hadoop-client-modules/hadoop-client-integration-tests . hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase/hadoop-yarn-server-timelineservice-hbase-server/hadoop-yarn-server-timelineservice-hbase-server-2 U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4052/1/console
versions git=2.17.1 maven=3.6.0 shellcheck=0.4.6 spotbugs=4.2.2
Powered by Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 0m 59s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 1s No case conflicting files found.
+0 🆗 codespell 0m 0s codespell 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 1 new or modified test files.
_ branch-3.3 Compile Tests _
+0 🆗 mvndep 3m 23s Maven dependency ordering for branch
+1 💚 mvninstall 31m 3s branch-3.3 passed
+1 💚 compile 18m 5s branch-3.3 passed
+1 💚 checkstyle 2m 51s branch-3.3 passed
+1 💚 mvnsite 24m 35s branch-3.3 passed
+1 💚 javadoc 7m 44s branch-3.3 passed
+0 🆗 spotbugs 0m 17s branch/hadoop-project no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 21s branch/hadoop-client-modules/hadoop-client no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 21s branch/hadoop-client-modules/hadoop-client-check-invariants no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 21s branch/hadoop-client-modules/hadoop-client-check-test-invariants no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 21s branch/hadoop-client-modules/hadoop-client-integration-tests no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 22s branch/hadoop-client-modules/hadoop-client-minicluster no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 22s branch/hadoop-client-modules/hadoop-client-runtime no spotbugs output file (spotbugsXml.xml)
+1 💚 shadedclient 24m 42s branch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 33s Maven dependency ordering for patch
+1 💚 mvninstall 50m 31s the patch passed
+1 💚 compile 17m 35s the patch passed
+1 💚 javac 17m 35s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
+1 💚 checkstyle 2m 46s the patch passed
+1 💚 mvnsite 20m 57s the patch passed
+1 💚 shellcheck 0m 0s No new issues.
+1 💚 xml 0m 41s The patch has no ill-formed XML file.
+1 💚 javadoc 7m 42s the patch passed
+0 🆗 spotbugs 0m 17s hadoop-project has no data from spotbugs
+0 🆗 spotbugs 0m 19s hadoop-client-modules/hadoop-client has no data from spotbugs
+0 🆗 spotbugs 0m 21s hadoop-client-modules/hadoop-client-runtime has no data from spotbugs
+0 🆗 spotbugs 0m 19s hadoop-client-modules/hadoop-client-check-invariants has no data from spotbugs
+0 🆗 spotbugs 0m 19s hadoop-client-modules/hadoop-client-minicluster has no data from spotbugs
+0 🆗 spotbugs 0m 19s hadoop-client-modules/hadoop-client-check-test-invariants has no data from spotbugs
+0 🆗 spotbugs 0m 19s hadoop-client-modules/hadoop-client-integration-tests has no data from spotbugs
+1 💚 shadedclient 25m 9s patch has no errors when building and testing our client artifacts.
_ Other Tests _
-1 ❌ unit 739m 1s /patch-unit-root.txt root in the patch passed.
+1 💚 asflicense 1m 35s The patch does not generate ASF License warnings.
1134m 37s
Reason Tests
Failed junit tests hadoop.yarn.server.nodemanager.amrmproxy.TestFederationInterceptor
hadoop.yarn.server.resourcemanager.security.TestDelegationTokenRenewer
hadoop.yarn.applications.distributedshell.TestDistributedShell
hadoop.hdfs.server.datanode.TestDirectoryScanner
hadoop.hdfs.server.datanode.TestDataNodeRollingUpgrade
hadoop.hdfs.tools.offlineImageViewer.TestOfflineImageViewer
hadoop.hdfs.server.datanode.TestDataNodeUUID
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4052/2/artifact/out/Dockerfile
GITHUB PR #4052
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient codespell xml spotbugs checkstyle shellcheck shelldocs
uname Linux 0c9942e72642 4.15.0-166-generic #174-Ubuntu SMP Wed Dec 8 19:07:44 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision branch-3.3 / aa7054bf62443cc051c6e440ad675cfd17ac28ac
Default Java Private Build-1.8.0_312-8u312-b07-0ubuntu1~18.04-b07
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4052/2/testReport/
Max. process+thread count 2301 (vs. ulimit of 5500)
modules C: hadoop-project hadoop-common-project/hadoop-minikdc hadoop-common-project/hadoop-auth hadoop-common-project/hadoop-auth-examples hadoop-common-project/hadoop-common hadoop-common-project/hadoop-nfs hadoop-common-project/hadoop-kms hadoop-common-project/hadoop-registry hadoop-hdfs-project/hadoop-hdfs-client hadoop-hdfs-project/hadoop-hdfs hadoop-hdfs-project/hadoop-hdfs-httpfs hadoop-hdfs-project/hadoop-hdfs-nfs hadoop-hdfs-project/hadoop-hdfs-rbf hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common 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-server/hadoop-yarn-server-timelineservice-hbase/hadoop-yarn-server-timelineservice-hbase-common hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase/hadoop-yarn-server-timelineservice-hbase-client hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase/hadoop-yarn-server-timelineservice-hbase-server/hadoop-yarn-server-timelineservice-hbase-server-1 hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase-tests hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell hadoop-mapreduce-project/hadoop-mapreduce-client hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-core hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-mawo/hadoop-yarn-applications-mawo-core hadoop-mapreduce-project hadoop-client-modules/hadoop-client hadoop-tools/hadoop-azure hadoop-client-modules/hadoop-client-runtime hadoop-client-modules/hadoop-client-check-invariants hadoop-client-modules/hadoop-client-minicluster hadoop-client-modules/hadoop-client-check-test-invariants hadoop-client-modules/hadoop-client-integration-tests . hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase/hadoop-yarn-server-timelineservice-hbase-server/hadoop-yarn-server-timelineservice-hbase-server-2 U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4052/2/console
versions git=2.17.1 maven=3.6.0 shellcheck=0.4.6 spotbugs=4.2.2
Powered by Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

Copy link
Contributor

@jojochuang jojochuang left a comment

Choose a reason for hiding this comment

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

I've been thinking how to make it simpler. A lot of the exclusion rules are similar, and can be simplified by the DependencyManagement in hadoop-project/pom.xml.

@iwasakims
Copy link
Member Author

@jojochuang I updated the patch based on your suggestion. The tarball built by mvn clean install -DskipTests -Pdist worked in the same way.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 13m 2s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+0 🆗 codespell 0m 0s codespell 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 1 new or modified test files.
_ branch-3.3 Compile Tests _
+0 🆗 mvndep 3m 35s Maven dependency ordering for branch
+1 💚 mvninstall 34m 10s branch-3.3 passed
+1 💚 compile 22m 14s branch-3.3 passed
+1 💚 checkstyle 3m 8s branch-3.3 passed
+1 💚 mvnsite 27m 51s branch-3.3 passed
+1 💚 javadoc 9m 4s branch-3.3 passed
+0 🆗 spotbugs 0m 19s branch/hadoop-project no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 24s branch/hadoop-client-modules/hadoop-client no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 23s branch/hadoop-client-modules/hadoop-client-check-invariants no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 23s branch/hadoop-client-modules/hadoop-client-check-test-invariants no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 22s branch/hadoop-client-modules/hadoop-client-integration-tests no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 23s branch/hadoop-client-modules/hadoop-client-minicluster no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 22s branch/hadoop-client-modules/hadoop-client-runtime no spotbugs output file (spotbugsXml.xml)
+1 💚 shadedclient 28m 23s branch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 36s Maven dependency ordering for patch
+1 💚 mvninstall 57m 25s the patch passed
+1 💚 compile 19m 41s the patch passed
+1 💚 javac 19m 41s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
+1 💚 checkstyle 2m 48s the patch passed
+1 💚 mvnsite 21m 0s the patch passed
+1 💚 shellcheck 0m 0s No new issues.
+1 💚 xml 0m 42s The patch has no ill-formed XML file.
+1 💚 javadoc 7m 38s the patch passed
+0 🆗 spotbugs 0m 17s hadoop-project has no data from spotbugs
+0 🆗 spotbugs 0m 19s hadoop-client-modules/hadoop-client has no data from spotbugs
+0 🆗 spotbugs 0m 19s hadoop-client-modules/hadoop-client-runtime has no data from spotbugs
+0 🆗 spotbugs 0m 18s hadoop-client-modules/hadoop-client-check-invariants has no data from spotbugs
+0 🆗 spotbugs 0m 19s hadoop-client-modules/hadoop-client-minicluster has no data from spotbugs
+0 🆗 spotbugs 0m 19s hadoop-client-modules/hadoop-client-check-test-invariants has no data from spotbugs
+0 🆗 spotbugs 0m 19s hadoop-client-modules/hadoop-client-integration-tests has no data from spotbugs
+1 💚 shadedclient 24m 43s patch has no errors when building and testing our client artifacts.
_ Other Tests _
-1 ❌ unit 706m 49s /patch-unit-root.txt root in the patch passed.
+1 💚 asflicense 1m 10s The patch does not generate ASF License warnings.
1148m 27s
Reason Tests
Failed junit tests hadoop.yarn.applications.distributedshell.TestDistributedShell
hadoop.hdfs.server.namenode.ha.TestUpdateBlockTailing
hadoop.hdfs.server.balancer.TestBalancerWithHANameNodes
hadoop.hdfs.tools.offlineImageViewer.TestOfflineImageViewer
hadoop.hdfs.server.balancer.TestBalancer
hadoop.hdfs.TestRollingUpgrade
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4052/3/artifact/out/Dockerfile
GITHUB PR #4052
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient codespell xml spotbugs checkstyle shellcheck shelldocs
uname Linux 2adb68c574fb 4.15.0-162-generic #170-Ubuntu SMP Mon Oct 18 11:38:05 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision branch-3.3 / d001cd74bfc951891ee3ca784b527d98ba9aa14f
Default Java Private Build-1.8.0_312-8u312-b07-0ubuntu1~18.04-b07
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4052/3/testReport/
Max. process+thread count 2041 (vs. ulimit of 5500)
modules C: hadoop-project hadoop-common-project/hadoop-minikdc hadoop-common-project/hadoop-auth hadoop-common-project/hadoop-auth-examples hadoop-common-project/hadoop-common hadoop-common-project/hadoop-nfs hadoop-common-project/hadoop-kms hadoop-common-project/hadoop-registry hadoop-hdfs-project/hadoop-hdfs-client hadoop-hdfs-project/hadoop-hdfs hadoop-hdfs-project/hadoop-hdfs-httpfs hadoop-hdfs-project/hadoop-hdfs-nfs hadoop-hdfs-project/hadoop-hdfs-rbf hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common 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-server/hadoop-yarn-server-timelineservice-hbase/hadoop-yarn-server-timelineservice-hbase-common hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase/hadoop-yarn-server-timelineservice-hbase-client hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase/hadoop-yarn-server-timelineservice-hbase-server/hadoop-yarn-server-timelineservice-hbase-server-1 hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase-tests hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell hadoop-mapreduce-project/hadoop-mapreduce-client hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-core hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-mawo/hadoop-yarn-applications-mawo-core hadoop-mapreduce-project hadoop-client-modules/hadoop-client hadoop-tools/hadoop-azure hadoop-client-modules/hadoop-client-runtime hadoop-client-modules/hadoop-client-check-invariants hadoop-client-modules/hadoop-client-minicluster hadoop-client-modules/hadoop-client-check-test-invariants hadoop-client-modules/hadoop-client-integration-tests . hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase/hadoop-yarn-server-timelineservice-hbase-server/hadoop-yarn-server-timelineservice-hbase-server-2 U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4052/3/console
versions git=2.17.1 maven=3.6.0 shellcheck=0.4.6 spotbugs=4.2.2
Powered by Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

Copy link
Contributor

@jojochuang jojochuang left a comment

Choose a reason for hiding this comment

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

@Apache9 what do you think? It looks mostly okay to me but HBase fails to build because reload4j is not permitted in the HBase dependency. This PR is targeting Hadoop 3.3.3.

@Apache9
Copy link
Contributor

Apache9 commented Mar 11, 2022

It is fine. In HBase will exclude the log4j related jars while depending on hadoop, after the change here, we just need to add the reload4j related jars to the exclusions section too.

@steveloughran
Copy link
Contributor

@Apache9 looking at this in 3.3.x too, FYI

Copy link
Contributor

@steveloughran steveloughran left a comment

Choose a reason for hiding this comment

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

LGTM; couple of comments need to remove their references to log4j just to avoid confusion

@@ -151,7 +151,7 @@
<!-- Leave commons-logging unshaded so downstream users can configure logging. -->
<exclude>commons-logging:commons-logging</exclude>
<!-- Leave log4j unshaded so downstream users can configure logging. -->
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: comment needs updating

@@ -85,7 +85,7 @@
<!-- Leave commons-logging unshaded so downstream users can configure logging. -->
<exclude>commons-logging:commons-logging</exclude>
<!-- Leave log4j unshaded so downstream users can configure logging. -->
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: comment needs updating

Copy link
Member Author

Choose a reason for hiding this comment

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

I updated the comments. Thanks, @steveloughran.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 0m 0s Docker mode activated.
-1 ❌ patch 0m 19s #4052 does not apply to branch-3.3. Rebase required? Wrong Branch? See https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute for help.
Subsystem Report/Notes
GITHUB PR #4052
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4052/4/console
versions git=2.17.1
Powered by Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

jojochuang and others added 3 commits April 4, 2022 11:08
Co-authored-by: Masatake Iwasaki <iwasakims@apache.org>
…f hadoop-project POM.

Co-authored-by: Masatake Iwasaki <iwasakims@apache.org>
@iwasakims
Copy link
Member Author

I found that we need to update assembly definition under hadoop-assemblies too. I filed HADOOP-18192(#4136) for branch-3.2. I added equivalent fix for branch-3.3 here in the last commit. @steveloughran

@iwasakims
Copy link
Member Author

$ mvn clean install -DskipTests -DskipShade -Pdist
$ find hadoop-dist/target/hadoop-3.3.3-SNAPSHOT -name 'slf4j-*.jar'
hadoop-dist/target/hadoop-3.3.3-SNAPSHOT/share/hadoop/common/lib/slf4j-api-1.7.35.jar
hadoop-dist/target/hadoop-3.3.3-SNAPSHOT/share/hadoop/common/lib/slf4j-reload4j-1.7.35.jar

@steveloughran
Copy link
Contributor

good catch about assemblies. i think you can use findclass to identify which jar a log4j or slf4j class is loaded from,just as i have done for the 1.2 classes
https://gist.github.com/steveloughran/3f7920197480a829f870cf73bd84c5cd

@iwasakims
Copy link
Member Author

$ bin/hadoop org.apache.hadoop.util.FindClass load org.apache.log4j.Logger
Loaded org.apache.log4j.Logger as class org.apache.log4j.Logger
org.apache.log4j.Logger: file:/home/rocky/dist/hadoop-3.3.3-SNAPSHOT/share/hadoop/common/lib/reload4j-1.2.18.3.jar

$ bin/hadoop org.apache.hadoop.util.FindClass load org.slf4j.impl.Reload4jLoggerAdapter
Loaded org.slf4j.impl.Reload4jLoggerAdapter as class org.slf4j.impl.Reload4jLoggerAdapter
org.slf4j.impl.Reload4jLoggerAdapter: file:/home/rocky/dist/hadoop-3.3.3-SNAPSHOT/share/hadoop/common/lib/slf4j-reload4j-1.7.35.jar

Copy link
Contributor

@Apache9 Apache9 left a comment

Choose a reason for hiding this comment

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

Mostly OK. The most important thing is to add the enforcer rules to ban log4j and slf4j-log4j12 dependencies.

@@ -89,7 +89,7 @@
<!-- Leave commons-logging unshaded so downstream users can configure logging. -->
<exclude>commons-logging:commons-logging</exclude>
<!-- Leave log4j unshaded so downstream users can configure logging. -->
Copy link
Contributor

Choose a reason for hiding this comment

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

log4j -> reload4j

Copy link
Member Author

Choose a reason for hiding this comment

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

fixed.

@@ -81,8 +81,8 @@
<httpcore.version>4.4.13</httpcore.version>

<!-- SLF4J/LOG4J version -->
<slf4j.version>1.7.30</slf4j.version>
<log4j.version>1.2.17</log4j.version>
<slf4j.version>1.7.35</slf4j.version>
Copy link
Contributor

Choose a reason for hiding this comment

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

1.7.36 is out?

Copy link
Member Author

Choose a reason for hiding this comment

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

The diff from 1.7.35 looks safe and good to upgrade here. I bumped the version.

2022-02-08 - Release of SLF4J 1.7.36
Correct corrupt "Export-Package" declaration in MANIFEST.MF in log4j-over-slf4j module. This fixes SLF4J-541 reported by Flavio Donzé.

Starting with version 1.7.36, slf4j releases will be reproducible. By reproducible we mean that anyone checking out the code corresponding to the release version from source code repository and building that local copy, will obtain an identical binary to the published binary.

@@ -2167,6 +2269,9 @@
<exclude>com.sun.jersey.jersey-test-framework:*</exclude>
<exclude>com.google.inject:guice</exclude>
<exclude>org.ow2.asm:asm</exclude>

<exclude>org.slf4j:slf4j-log4j12</exclude>
Copy link
Contributor

Choose a reason for hiding this comment

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

Good.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 10m 15s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 1s No case conflicting files found.
+0 🆗 codespell 0m 0s codespell 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 1 new or modified test files.
_ branch-3.3 Compile Tests _
+0 🆗 mvndep 3m 22s Maven dependency ordering for branch
+1 💚 mvninstall 30m 55s branch-3.3 passed
+1 💚 compile 18m 14s branch-3.3 passed
+1 💚 checkstyle 2m 49s branch-3.3 passed
+1 💚 mvnsite 24m 21s branch-3.3 passed
+1 💚 javadoc 7m 42s branch-3.3 passed
+0 🆗 spotbugs 0m 17s branch/hadoop-project no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 22s branch/hadoop-client-modules/hadoop-client no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 22s branch/hadoop-client-modules/hadoop-client-check-invariants no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 21s branch/hadoop-client-modules/hadoop-client-check-test-invariants no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 21s branch/hadoop-client-modules/hadoop-client-integration-tests no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 22s branch/hadoop-client-modules/hadoop-client-minicluster no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 22s branch/hadoop-client-modules/hadoop-client-runtime no spotbugs output file (spotbugsXml.xml)
+1 💚 shadedclient 24m 55s branch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 33s Maven dependency ordering for patch
+1 💚 mvninstall 51m 9s the patch passed
+1 💚 compile 17m 56s the patch passed
+1 💚 javac 17m 56s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
+1 💚 checkstyle 2m 46s the patch passed
+1 💚 mvnsite 21m 1s the patch passed
+1 💚 shellcheck 0m 0s No new issues.
+1 💚 xml 0m 41s The patch has no ill-formed XML file.
+1 💚 javadoc 7m 29s the patch passed
+0 🆗 spotbugs 0m 16s hadoop-project has no data from spotbugs
+0 🆗 spotbugs 0m 20s hadoop-client-modules/hadoop-client has no data from spotbugs
+0 🆗 spotbugs 0m 19s hadoop-client-modules/hadoop-client-runtime has no data from spotbugs
+0 🆗 spotbugs 0m 19s hadoop-client-modules/hadoop-client-check-invariants has no data from spotbugs
+0 🆗 spotbugs 0m 19s hadoop-client-modules/hadoop-client-minicluster has no data from spotbugs
+0 🆗 spotbugs 0m 19s hadoop-client-modules/hadoop-client-check-test-invariants has no data from spotbugs
+0 🆗 spotbugs 0m 19s hadoop-client-modules/hadoop-client-integration-tests has no data from spotbugs
+1 💚 shadedclient 25m 41s patch has no errors when building and testing our client artifacts.
_ Other Tests _
-1 ❌ unit 763m 6s /patch-unit-root.txt root in the patch passed.
+1 💚 asflicense 2m 15s The patch does not generate ASF License warnings.
1173m 7s
Reason Tests
Failed junit tests hadoop.yarn.applications.distributedshell.TestDistributedShell
hadoop.hdfs.server.federation.router.TestRouterRpcMultiDestination
hadoop.hdfs.server.federation.router.TestRouterRpc
hadoop.hdfs.server.blockmanagement.TestBlockTokenWithDFSStriped
hadoop.hdfs.TestDFSClientRetries
hadoop.hdfs.tools.offlineImageViewer.TestOfflineImageViewer
hadoop.hdfs.TestRollingUpgrade
hadoop.hdfs.server.namenode.TestAddOverReplicatedStripedBlocks
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4052/5/artifact/out/Dockerfile
GITHUB PR #4052
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient codespell xml spotbugs checkstyle shellcheck shelldocs
uname Linux 8f568491b36d 4.15.0-166-generic #174-Ubuntu SMP Wed Dec 8 19:07:44 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision branch-3.3 / a375ff4
Default Java Private Build-1.8.0_312-8u312-b07-0ubuntu1~18.04-b07
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4052/5/testReport/
Max. process+thread count 2507 (vs. ulimit of 5500)
modules C: hadoop-project hadoop-common-project/hadoop-minikdc hadoop-common-project/hadoop-auth hadoop-common-project/hadoop-auth-examples hadoop-common-project/hadoop-common hadoop-common-project/hadoop-nfs hadoop-common-project/hadoop-kms hadoop-common-project/hadoop-registry hadoop-hdfs-project/hadoop-hdfs-client hadoop-hdfs-project/hadoop-hdfs hadoop-hdfs-project/hadoop-hdfs-httpfs hadoop-hdfs-project/hadoop-hdfs-nfs hadoop-hdfs-project/hadoop-hdfs-rbf hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common 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-server/hadoop-yarn-server-timelineservice-hbase/hadoop-yarn-server-timelineservice-hbase-common hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase/hadoop-yarn-server-timelineservice-hbase-client hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase/hadoop-yarn-server-timelineservice-hbase-server/hadoop-yarn-server-timelineservice-hbase-server-1 hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase-tests hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell hadoop-mapreduce-project/hadoop-mapreduce-client hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-core hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-mawo/hadoop-yarn-applications-mawo-core hadoop-mapreduce-project hadoop-client-modules/hadoop-client hadoop-tools/hadoop-azure hadoop-client-modules/hadoop-client-runtime hadoop-client-modules/hadoop-client-check-invariants hadoop-client-modules/hadoop-client-minicluster hadoop-client-modules/hadoop-client-check-test-invariants hadoop-client-modules/hadoop-client-integration-tests . hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase/hadoop-yarn-server-timelineservice-hbase-server/hadoop-yarn-server-timelineservice-hbase-server-2 U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4052/5/console
versions git=2.17.1 maven=3.6.0 shellcheck=0.4.6 spotbugs=4.2.2
Powered by Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 1m 0s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 1s No case conflicting files found.
+0 🆗 codespell 0m 0s codespell 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 1 new or modified test files.
_ branch-3.3 Compile Tests _
+0 🆗 mvndep 5m 10s Maven dependency ordering for branch
+1 💚 mvninstall 36m 25s branch-3.3 passed
+1 💚 compile 18m 54s branch-3.3 passed
+1 💚 checkstyle 3m 14s branch-3.3 passed
+1 💚 mvnsite 27m 10s branch-3.3 passed
+1 💚 javadoc 9m 7s branch-3.3 passed
+0 🆗 spotbugs 0m 19s branch/hadoop-project no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 21s branch/hadoop-assemblies no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 25s branch/hadoop-client-modules/hadoop-client no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 24s branch/hadoop-client-modules/hadoop-client-check-invariants no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 23s branch/hadoop-client-modules/hadoop-client-check-test-invariants no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 23s branch/hadoop-client-modules/hadoop-client-integration-tests no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 25s branch/hadoop-client-modules/hadoop-client-minicluster no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 26s branch/hadoop-client-modules/hadoop-client-runtime no spotbugs output file (spotbugsXml.xml)
+1 💚 shadedclient 26m 50s branch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 41s Maven dependency ordering for patch
+1 💚 mvninstall 58m 3s the patch passed
+1 💚 compile 20m 59s the patch passed
+1 💚 javac 20m 59s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
+1 💚 checkstyle 3m 14s the patch passed
+1 💚 mvnsite 25m 15s the patch passed
+1 💚 shellcheck 0m 0s No new issues.
+1 💚 xml 0m 55s The patch has no ill-formed XML file.
+1 💚 javadoc 8m 40s the patch passed
+0 🆗 spotbugs 0m 18s hadoop-project has no data from spotbugs
+0 🆗 spotbugs 0m 18s hadoop-assemblies has no data from spotbugs
+0 🆗 spotbugs 0m 19s hadoop-client-modules/hadoop-client has no data from spotbugs
+0 🆗 spotbugs 0m 19s hadoop-client-modules/hadoop-client-runtime has no data from spotbugs
+0 🆗 spotbugs 0m 19s hadoop-client-modules/hadoop-client-check-invariants has no data from spotbugs
+0 🆗 spotbugs 0m 19s hadoop-client-modules/hadoop-client-minicluster has no data from spotbugs
+0 🆗 spotbugs 0m 20s hadoop-client-modules/hadoop-client-check-test-invariants has no data from spotbugs
+0 🆗 spotbugs 0m 19s hadoop-client-modules/hadoop-client-integration-tests has no data from spotbugs
+1 💚 shadedclient 25m 14s patch has no errors when building and testing our client artifacts.
_ Other Tests _
-1 ❌ unit 721m 43s /patch-unit-root.txt root in the patch passed.
+1 💚 asflicense 1m 38s The patch does not generate ASF License warnings.
1165m 30s
Reason Tests
Failed junit tests hadoop.yarn.server.nodemanager.amrmproxy.TestFederationInterceptor
hadoop.yarn.server.resourcemanager.scheduler.fair.TestFairSchedulerOvercommit
hadoop.yarn.applications.distributedshell.TestDistributedShell
hadoop.hdfs.server.federation.router.TestRouterRpcMultiDestination
hadoop.hdfs.server.federation.router.TestRouterRpc
hadoop.hdfs.tools.offlineImageViewer.TestOfflineImageViewer
hadoop.hdfs.TestRollingUpgrade
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4052/6/artifact/out/Dockerfile
GITHUB PR #4052
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient codespell xml spotbugs checkstyle shellcheck shelldocs
uname Linux 58e4005f996e 4.15.0-166-generic #174-Ubuntu SMP Wed Dec 8 19:07:44 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision branch-3.3 / 9d465f9
Default Java Private Build-1.8.0_312-8u312-b07-0ubuntu1~18.04-b07
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4052/6/testReport/
Max. process+thread count 2342 (vs. ulimit of 5500)
modules C: hadoop-project hadoop-assemblies hadoop-common-project/hadoop-minikdc hadoop-common-project/hadoop-auth hadoop-common-project/hadoop-auth-examples hadoop-common-project/hadoop-common hadoop-common-project/hadoop-nfs hadoop-common-project/hadoop-kms hadoop-common-project/hadoop-registry hadoop-hdfs-project/hadoop-hdfs-client hadoop-hdfs-project/hadoop-hdfs hadoop-hdfs-project/hadoop-hdfs-httpfs hadoop-hdfs-project/hadoop-hdfs-nfs hadoop-hdfs-project/hadoop-hdfs-rbf hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common 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-server/hadoop-yarn-server-timelineservice-hbase/hadoop-yarn-server-timelineservice-hbase-common hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase/hadoop-yarn-server-timelineservice-hbase-client hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase/hadoop-yarn-server-timelineservice-hbase-server/hadoop-yarn-server-timelineservice-hbase-server-1 hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase-tests hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell hadoop-mapreduce-project/hadoop-mapreduce-client hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-core hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-mawo/hadoop-yarn-applications-mawo-core hadoop-mapreduce-project hadoop-client-modules/hadoop-client hadoop-tools/hadoop-azure hadoop-client-modules/hadoop-client-runtime hadoop-client-modules/hadoop-client-check-invariants hadoop-client-modules/hadoop-client-minicluster hadoop-client-modules/hadoop-client-check-test-invariants hadoop-client-modules/hadoop-client-integration-tests . hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase/hadoop-yarn-server-timelineservice-hbase-server/hadoop-yarn-server-timelineservice-hbase-server-2 U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4052/6/console
versions git=2.17.1 maven=3.6.0 shellcheck=0.4.6 spotbugs=4.2.2
Powered by Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 0m 51s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 1s No case conflicting files found.
+0 🆗 codespell 0m 0s codespell 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 1 new or modified test files.
_ branch-3.3 Compile Tests _
+0 🆗 mvndep 5m 6s Maven dependency ordering for branch
+1 💚 mvninstall 33m 55s branch-3.3 passed
+1 💚 compile 18m 19s branch-3.3 passed
+1 💚 checkstyle 2m 58s branch-3.3 passed
+1 💚 mvnsite 25m 27s branch-3.3 passed
+1 💚 javadoc 7m 55s branch-3.3 passed
+0 🆗 spotbugs 0m 18s branch/hadoop-project no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 16s branch/hadoop-assemblies no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 22s branch/hadoop-client-modules/hadoop-client no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 20s branch/hadoop-client-modules/hadoop-client-check-invariants no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 22s branch/hadoop-client-modules/hadoop-client-check-test-invariants no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 21s branch/hadoop-client-modules/hadoop-client-integration-tests no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 22s branch/hadoop-client-modules/hadoop-client-minicluster no spotbugs output file (spotbugsXml.xml)
+0 🆗 spotbugs 0m 21s branch/hadoop-client-modules/hadoop-client-runtime no spotbugs output file (spotbugsXml.xml)
+1 💚 shadedclient 25m 0s branch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 36s Maven dependency ordering for patch
+1 💚 mvninstall 51m 52s the patch passed
+1 💚 compile 18m 6s the patch passed
+1 💚 javac 18m 6s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
+1 💚 checkstyle 2m 48s the patch passed
+1 💚 mvnsite 21m 4s the patch passed
+1 💚 shellcheck 0m 0s No new issues.
+1 💚 xml 0m 53s The patch has no ill-formed XML file.
+1 💚 javadoc 7m 38s the patch passed
+0 🆗 spotbugs 0m 16s hadoop-project has no data from spotbugs
+0 🆗 spotbugs 0m 16s hadoop-assemblies has no data from spotbugs
+0 🆗 spotbugs 0m 19s hadoop-client-modules/hadoop-client has no data from spotbugs
+0 🆗 spotbugs 0m 20s hadoop-client-modules/hadoop-client-runtime has no data from spotbugs
+0 🆗 spotbugs 0m 18s hadoop-client-modules/hadoop-client-check-invariants has no data from spotbugs
+0 🆗 spotbugs 0m 20s hadoop-client-modules/hadoop-client-minicluster has no data from spotbugs
+0 🆗 spotbugs 0m 19s hadoop-client-modules/hadoop-client-check-test-invariants has no data from spotbugs
+0 🆗 spotbugs 0m 19s hadoop-client-modules/hadoop-client-integration-tests has no data from spotbugs
+1 💚 shadedclient 25m 15s patch has no errors when building and testing our client artifacts.
_ Other Tests _
-1 ❌ unit 705m 31s /patch-unit-root.txt root in the patch passed.
+1 💚 asflicense 1m 21s The patch does not generate ASF License warnings.
1110m 39s
Reason Tests
Failed junit tests hadoop.yarn.applications.distributedshell.TestDistributedShell
hadoop.security.TestRaceWhenRelogin
hadoop.hdfs.server.blockmanagement.TestAvailableSpaceRackFaultTolerantBPP
hadoop.hdfs.tools.offlineImageViewer.TestOfflineImageViewer
hadoop.hdfs.server.balancer.TestBalancer
hadoop.hdfs.TestReconstructStripedFileWithValidator
hadoop.hdfs.server.federation.router.TestRouterRpc
hadoop.hdfs.server.federation.router.TestRouterRpcMultiDestination
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4052/7/artifact/out/Dockerfile
GITHUB PR #4052
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient codespell xml spotbugs checkstyle shellcheck shelldocs
uname Linux 7b6508805a52 4.15.0-162-generic #170-Ubuntu SMP Mon Oct 18 11:38:05 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision branch-3.3 / 2a64c7e
Default Java Private Build-1.8.0_312-8u312-b07-0ubuntu1~18.04-b07
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4052/7/testReport/
Max. process+thread count 2989 (vs. ulimit of 5500)
modules C: hadoop-project hadoop-assemblies hadoop-common-project/hadoop-minikdc hadoop-common-project/hadoop-auth hadoop-common-project/hadoop-auth-examples hadoop-common-project/hadoop-common hadoop-common-project/hadoop-nfs hadoop-common-project/hadoop-kms hadoop-common-project/hadoop-registry hadoop-hdfs-project/hadoop-hdfs-client hadoop-hdfs-project/hadoop-hdfs hadoop-hdfs-project/hadoop-hdfs-httpfs hadoop-hdfs-project/hadoop-hdfs-nfs hadoop-hdfs-project/hadoop-hdfs-rbf hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common 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-server/hadoop-yarn-server-timelineservice-hbase/hadoop-yarn-server-timelineservice-hbase-common hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase/hadoop-yarn-server-timelineservice-hbase-client hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase/hadoop-yarn-server-timelineservice-hbase-server/hadoop-yarn-server-timelineservice-hbase-server-1 hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase-tests hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell hadoop-mapreduce-project/hadoop-mapreduce-client hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-core hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-mawo/hadoop-yarn-applications-mawo-core hadoop-mapreduce-project hadoop-client-modules/hadoop-client hadoop-tools/hadoop-azure hadoop-client-modules/hadoop-client-runtime hadoop-client-modules/hadoop-client-check-invariants hadoop-client-modules/hadoop-client-minicluster hadoop-client-modules/hadoop-client-check-test-invariants hadoop-client-modules/hadoop-client-integration-tests . hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase/hadoop-yarn-server-timelineservice-hbase-server/hadoop-yarn-server-timelineservice-hbase-server-2 U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4052/7/console
versions git=2.17.1 maven=3.6.0 shellcheck=0.4.6 spotbugs=4.2.2
Powered by Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

@steveloughran
Copy link
Contributor

are the tests just HDFS playing up?

if so, I'm not worried, though I'd hope those test gets fixed.

@iwasakims
Copy link
Member Author

I can reproduce the failure of TestOfflineImageViewer#testReverseXmlWithoutSnapshotDiffSection, TestRouterRpc#testSetBalancerBandwidth and TestRouterRpcMultiDestination#testSetBalancerBandwidth on my local even without the patch. It should be addressed in another JIRA.

@steveloughran
Copy link
Contributor

Ok +1 from me

@iwasakims iwasakims merged commit 160b6d1 into apache:branch-3.3 Apr 6, 2022
@iwasakims
Copy link
Member Author

I merged this. Thanks, @steveloughran, @jojochuang and @Apache9.

steveloughran pushed a commit to steveloughran/hadoop that referenced this pull request Apr 7, 2022
Co-authored-by: Wei-Chiu Chuang <weichiu@apache.org>
steveloughran pushed a commit to steveloughran/hadoop that referenced this pull request Apr 12, 2022
Co-authored-by: Wei-Chiu Chuang <weichiu@apache.org>
asfgit pushed a commit that referenced this pull request Apr 13, 2022
Co-authored-by: Wei-Chiu Chuang <weichiu@apache.org>
asfgit pushed a commit that referenced this pull request Apr 14, 2022
Co-authored-by: Wei-Chiu Chuang <weichiu@apache.org>
Comment on lines 1688 to +1702
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-server</artifactId>
<version>${hbase.version}</version>
<exclusions>
<exclusion>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-server</artifactId>
<version>${hbase.version}</version>
<scope>test</scope>
Copy link
Member

Choose a reason for hiding this comment

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

@iwasakims hbase-server was already there, with compile scope, why was it added here again with test scope?
It seems to give warnings while building 3.3.3 to me

[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.apache.hadoop:hadoop-project:pom:3.3.3
[WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.apache.hbase:hbase-server:jar -> duplicate declaration of version ${hbase.version} @ line 1691, column 19

steveloughran pushed a commit to steveloughran/hadoop that referenced this pull request Jun 3, 2022
Change-Id: Id2f25f0b9d26e0ff73f828acbfb4e6fbac3425cc
Co-authored-by: Wei-Chiu Chuang <weichiu@apache.org>
steveloughran pushed a commit to steveloughran/hadoop that referenced this pull request Feb 12, 2024
Change-Id: I7aa29cdbe66e3eabcff5d30f244c55563a6dfa7f
Co-authored-by: Wei-Chiu Chuang <weichiu@apache.org>
steveloughran added a commit that referenced this pull request Feb 13, 2024

Co-authored-by: Wei-Chiu Chuang <weichiu@apache.org>


Includes HADOOP-18354. Upgrade reload4j to 1.22.2 due to XXE vulnerability (#4607). 

Log4j 1.2.17 has been replaced by reloadj 1.22.2
SLF4J is at 1.7.36
iwasakims pushed a commit that referenced this pull request Feb 16, 2024
Co-authored-by: Wei-Chiu Chuang <weichiu@apache.org>

Includes HADOOP-18354. Upgrade reload4j to 1.22.2 due to XXE vulnerability (#4607).

Log4j 1.2.17 has been replaced by reloadj 1.22.2
SLF4J is at 1.7.36

(cherry picked from commit 095dfcc)
slfan1989 pushed a commit that referenced this pull request Mar 3, 2024
Co-authored-by: Wei-Chiu Chuang <weichiu@apache.org>

Includes HADOOP-18354. Upgrade reload4j to 1.22.2 due to XXE vulnerability (#4607).

Log4j 1.2.17 has been replaced by reloadj 1.22.2
SLF4J is at 1.7.36

(cherry picked from commit 095dfcc)
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.

6 participants