Skip to content

HADOOP-17371. Bump Jetty to the latest version 9.4.34. Contributed by Wei-Chiu Chuang. #2453

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

Merged
merged 9 commits into from
Jan 4, 2021

Conversation

jojochuang
Copy link
Contributor

NOTICE

Please create an issue in ASF JIRA before opening a pull request,
and you need to set the title of the pull request which starts with
the corresponding JIRA issue number. (e.g. HADOOP-XXXXX. Fix a typo in YYY.)
For more details, please see https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute

Copy link
Member

@aajisaka aajisaka left a comment

Choose a reason for hiding this comment

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

+1 pending Jenkins

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 32m 2s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
-1 ❌ test4tests 0m 0s The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ trunk Compile Tests _
+1 💚 mvninstall 35m 54s trunk passed
+1 💚 compile 0m 16s trunk passed with JDK Ubuntu-11.0.9+11-Ubuntu-0ubuntu1.18.04.1
+1 💚 compile 0m 16s trunk passed with JDK Private Build-1.8.0_272-8u272-b10-0ubuntu1~18.04-b10
+1 💚 mvnsite 0m 20s trunk passed
+1 💚 shadedclient 53m 23s branch has no errors when building and testing our client artifacts.
+1 💚 javadoc 0m 18s trunk passed with JDK Ubuntu-11.0.9+11-Ubuntu-0ubuntu1.18.04.1
+1 💚 javadoc 0m 18s trunk passed with JDK Private Build-1.8.0_272-8u272-b10-0ubuntu1~18.04-b10
_ Patch Compile Tests _
+1 💚 mvninstall 0m 11s the patch passed
+1 💚 compile 0m 10s the patch passed with JDK Ubuntu-11.0.9+11-Ubuntu-0ubuntu1.18.04.1
+1 💚 javac 0m 10s the patch passed
+1 💚 compile 0m 10s the patch passed with JDK Private Build-1.8.0_272-8u272-b10-0ubuntu1~18.04-b10
+1 💚 javac 0m 10s the patch passed
+1 💚 mvnsite 0m 13s the patch passed
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 xml 0m 1s The patch has no ill-formed XML file.
-1 ❌ shadedclient 16m 48s patch has errors when building and testing our client artifacts.
+1 💚 javadoc 0m 15s the patch passed with JDK Ubuntu-11.0.9+11-Ubuntu-0ubuntu1.18.04.1
+1 💚 javadoc 0m 14s the patch passed with JDK Private Build-1.8.0_272-8u272-b10-0ubuntu1~18.04-b10
_ Other Tests _
+1 💚 unit 0m 13s hadoop-project in the patch passed.
+1 💚 asflicense 0m 28s The patch does not generate ASF License warnings.
107m 26s
Subsystem Report/Notes
Docker ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2453/1/artifact/out/Dockerfile
GITHUB PR #2453
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient xml
uname Linux e690fbffd490 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 4331c88
Default Java Private Build-1.8.0_272-8u272-b10-0ubuntu1~18.04-b10
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.9+11-Ubuntu-0ubuntu1.18.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_272-8u272-b10-0ubuntu1~18.04-b10
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2453/1/testReport/
Max. process+thread count 358 (vs. ulimit of 5500)
modules C: hadoop-project U: hadoop-project
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2453/1/console
versions git=2.17.1 maven=3.6.0
Powered by Apache Yetus 0.13.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

Copy link
Contributor Author

@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.

Do not merge. The shading is broken by this:


[ERROR] Found artifact with unexpected contents: '/Users/weichiu/sandbox/hadoop/hadoop-client-modules/hadoop-client-minicluster/target/hadoop-client-minicluster-3.4.0-SNAPSHOT.jar'
    Please check the following and either correct the build or update
    the allowed list with reasoning.

    jetty-dir.css

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 0m 33s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
-1 ❌ test4tests 0m 0s The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ trunk Compile Tests _
+0 🆗 mvndep 15m 4s Maven dependency ordering for branch
+1 💚 mvninstall 21m 0s trunk passed
+1 💚 compile 20m 21s trunk passed with JDK Ubuntu-11.0.9+11-Ubuntu-0ubuntu1.18.04.1
+1 💚 compile 17m 19s trunk passed with JDK Private Build-1.8.0_272-8u272-b10-0ubuntu1~18.04-b10
+1 💚 mvnsite 1m 15s trunk passed
+1 💚 shadedclient 90m 46s branch has no errors when building and testing our client artifacts.
+1 💚 javadoc 1m 13s trunk passed with JDK Ubuntu-11.0.9+11-Ubuntu-0ubuntu1.18.04.1
+1 💚 javadoc 1m 10s trunk passed with JDK Private Build-1.8.0_272-8u272-b10-0ubuntu1~18.04-b10
_ Patch Compile Tests _
+0 🆗 mvndep 1m 1s Maven dependency ordering for patch
+1 💚 mvninstall 4m 36s the patch passed
+1 💚 compile 19m 21s the patch passed with JDK Ubuntu-11.0.9+11-Ubuntu-0ubuntu1.18.04.1
+1 💚 javac 19m 21s the patch passed
+1 💚 compile 17m 21s the patch passed with JDK Private Build-1.8.0_272-8u272-b10-0ubuntu1~18.04-b10
+1 💚 javac 17m 21s the patch passed
+1 💚 mvnsite 1m 14s the patch passed
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 xml 0m 3s The patch has no ill-formed XML file.
+1 💚 shadedclient 15m 34s patch has no errors when building and testing our client artifacts.
+1 💚 javadoc 1m 11s the patch passed with JDK Ubuntu-11.0.9+11-Ubuntu-0ubuntu1.18.04.1
+1 💚 javadoc 1m 11s the patch passed with JDK Private Build-1.8.0_272-8u272-b10-0ubuntu1~18.04-b10
_ Other Tests _
+1 💚 unit 0m 34s hadoop-project in the patch passed.
+1 💚 unit 0m 36s hadoop-client-minicluster in the patch passed.
+1 💚 asflicense 0m 55s The patch does not generate ASF License warnings.
161m 55s
Subsystem Report/Notes
Docker ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2453/2/artifact/out/Dockerfile
GITHUB PR #2453
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient xml
uname Linux ed59d4423fb5 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 61f8c57
Default Java Private Build-1.8.0_272-8u272-b10-0ubuntu1~18.04-b10
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.9+11-Ubuntu-0ubuntu1.18.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_272-8u272-b10-0ubuntu1~18.04-b10
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2453/2/testReport/
Max. process+thread count 545 (vs. ulimit of 5500)
modules C: hadoop-project hadoop-client-modules/hadoop-client-minicluster U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2453/2/console
versions git=2.17.1 maven=3.6.0
Powered by Apache Yetus 0.13.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

@jojochuang
Copy link
Contributor Author

The latest one is good. @aajisaka do you want to take another look?

@aajisaka
Copy link
Member

No unit tests run in the Jenkins job. I'll run the unit tests in hadoop-common module locally before +1.

Copy link
Member

@aajisaka aajisaka left a comment

Choose a reason for hiding this comment

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

TestPseudoAuthenticator failed after the upgrade:

[INFO] Running org.apache.hadoop.security.authentication.client.TestPseudoAuthenticator
[ERROR] Tests run: 7, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.63 s <<< FAILURE! - in org.apache.hadoop.security.authentication.client.TestPseudoAuthenticator
[ERROR] testAnonymousDisallowed(org.apache.hadoop.security.authentication.client.TestPseudoAuthenticator)  Time elapsed: 0.463 s  <<< FAILURE!
org.junit.ComparisonFailure: expected:<[Authentication requir]ed> but was:<[Unauthoriz]ed>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at org.apache.hadoop.security.authentication.client.TestPseudoAuthenticator.testAnonymousDisallowed(TestPseudoAuthenticator.java:68)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)

@aajisaka
Copy link
Member

In addition, TestKMS failed.

@jojochuang
Copy link
Contributor Author

Ok... so this is getting more involved. It turns out that Jetty 9.4.21 has a breaking change (https://github.com/eclipse/jetty.project/pull/3912/files)
Previously, our o.h.a.s.authentication.server.AuthenticationFilter sends a custom message associated with 401 error. After 9.4.21, Response.sendError() no longer allows a custom error message. You have to call Response.setStatusWithReason() to set that. But that requires an additional dependency on jetty-server.

I don't feel that strong to include jetty-server just so that we can set a custom error message. We could update the test code instead too.

@jojochuang
Copy link
Contributor Author

(The above update addresses the issue with TestPseudoAuthenticator. Still trying to understand TestKMS errors...

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 2m 11s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 1s No case conflicting files found.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
-1 ❌ test4tests 0m 0s The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ trunk Compile Tests _
+0 🆗 mvndep 14m 47s Maven dependency ordering for branch
+1 💚 mvninstall 23m 16s trunk passed
+1 💚 compile 21m 42s trunk passed with JDK Ubuntu-11.0.9+11-Ubuntu-0ubuntu1.18.04.1
+1 💚 compile 18m 6s trunk passed with JDK Private Build-1.8.0_272-8u272-b10-0ubuntu1~18.04-b10
+1 💚 checkstyle 2m 48s trunk passed
+1 💚 mvnsite 1m 30s trunk passed
+1 💚 shadedclient 21m 53s branch has no errors when building and testing our client artifacts.
+1 💚 javadoc 1m 36s trunk passed with JDK Ubuntu-11.0.9+11-Ubuntu-0ubuntu1.18.04.1
+1 💚 javadoc 1m 32s trunk passed with JDK Private Build-1.8.0_272-8u272-b10-0ubuntu1~18.04-b10
+0 🆗 spotbugs 0m 26s Used deprecated FindBugs config; considering switching to SpotBugs.
+0 🆗 findbugs 0m 29s branch/hadoop-project no findbugs output file (findbugsXml.xml)
+0 🆗 findbugs 0m 26s branch/hadoop-client-modules/hadoop-client-minicluster no findbugs output file (findbugsXml.xml)
_ Patch Compile Tests _
+0 🆗 mvndep 0m 56s Maven dependency ordering for patch
+1 💚 mvninstall 5m 57s the patch passed
+1 💚 compile 22m 54s the patch passed with JDK Ubuntu-11.0.9+11-Ubuntu-0ubuntu1.18.04.1
+1 💚 javac 22m 54s the patch passed
+1 💚 compile 19m 17s the patch passed with JDK Private Build-1.8.0_272-8u272-b10-0ubuntu1~18.04-b10
+1 💚 javac 19m 17s the patch passed
-0 ⚠️ checkstyle 2m 58s /diff-checkstyle-root.txt root: The patch generated 2 new + 34 unchanged - 0 fixed = 36 total (was 34)
+1 💚 mvnsite 1m 27s the patch passed
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 xml 0m 4s The patch has no ill-formed XML file.
+1 💚 shadedclient 18m 59s patch has no errors when building and testing our client artifacts.
+1 💚 javadoc 1m 47s the patch passed with JDK Ubuntu-11.0.9+11-Ubuntu-0ubuntu1.18.04.1
+1 💚 javadoc 1m 42s the patch passed with JDK Private Build-1.8.0_272-8u272-b10-0ubuntu1~18.04-b10
+0 🆗 findbugs 0m 32s hadoop-project has no data from findbugs
+0 🆗 findbugs 0m 32s hadoop-client-modules/hadoop-client-minicluster has no data from findbugs
_ Other Tests _
+1 💚 unit 0m 33s hadoop-project in the patch passed.
-1 ❌ unit 4m 5s /patch-unit-hadoop-common-project_hadoop-auth.txt hadoop-auth in the patch passed.
+1 💚 unit 0m 33s hadoop-client-minicluster in the patch passed.
+1 💚 asflicense 1m 1s The patch does not generate ASF License warnings.
196m 13s
Reason Tests
Failed junit tests hadoop.security.authentication.server.TestAuthenticationFilter
Subsystem Report/Notes
Docker ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2453/3/artifact/out/Dockerfile
GITHUB PR #2453
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient xml findbugs checkstyle
uname Linux c48398c3106e 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / e6d2dcc
Default Java Private Build-1.8.0_272-8u272-b10-0ubuntu1~18.04-b10
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.9+11-Ubuntu-0ubuntu1.18.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_272-8u272-b10-0ubuntu1~18.04-b10
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2453/3/testReport/
Max. process+thread count 513 (vs. ulimit of 5500)
modules C: hadoop-project hadoop-common-project/hadoop-auth hadoop-client-modules/hadoop-client-minicluster U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2453/3/console
versions git=2.17.1 maven=3.6.0 findbugs=4.1.3
Powered by Apache Yetus 0.13.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 46s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 1s No case conflicting files found.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
-1 ❌ test4tests 0m 0s The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ trunk Compile Tests _
+0 🆗 mvndep 13m 43s Maven dependency ordering for branch
+1 💚 mvninstall 25m 1s trunk passed
+1 💚 compile 22m 28s trunk passed with JDK Ubuntu-11.0.9.1+1-Ubuntu-0ubuntu1.18.04
+1 💚 compile 17m 19s trunk passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01
+1 💚 checkstyle 2m 47s trunk passed
+1 💚 mvnsite 2m 1s trunk passed
+1 💚 shadedclient 20m 56s branch has no errors when building and testing our client artifacts.
+1 💚 javadoc 1m 33s trunk passed with JDK Ubuntu-11.0.9.1+1-Ubuntu-0ubuntu1.18.04
+1 💚 javadoc 1m 26s trunk passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01
+0 🆗 spotbugs 0m 29s Used deprecated FindBugs config; considering switching to SpotBugs.
+0 🆗 findbugs 0m 34s branch/hadoop-project no findbugs output file (findbugsXml.xml)
+0 🆗 findbugs 0m 29s branch/hadoop-client-modules/hadoop-client-minicluster no findbugs output file (findbugsXml.xml)
_ Patch Compile Tests _
+0 🆗 mvndep 0m 57s Maven dependency ordering for patch
+1 💚 mvninstall 5m 26s the patch passed
+1 💚 compile 20m 50s the patch passed with JDK Ubuntu-11.0.9.1+1-Ubuntu-0ubuntu1.18.04
+1 💚 javac 20m 50s the patch passed
+1 💚 compile 18m 58s the patch passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01
+1 💚 javac 18m 58s the patch passed
+1 💚 checkstyle 2m 40s the patch passed
+1 💚 mvnsite 1m 47s the patch passed
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 xml 0m 4s The patch has no ill-formed XML file.
+1 💚 shadedclient 15m 37s patch has no errors when building and testing our client artifacts.
+1 💚 javadoc 1m 40s the patch passed with JDK Ubuntu-11.0.9.1+1-Ubuntu-0ubuntu1.18.04
+1 💚 javadoc 1m 37s the patch passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01
+0 🆗 findbugs 0m 31s hadoop-project has no data from findbugs
+0 🆗 findbugs 0m 31s hadoop-client-modules/hadoop-client-minicluster has no data from findbugs
_ Other Tests _
+1 💚 unit 0m 30s hadoop-project in the patch passed.
+1 💚 unit 3m 21s hadoop-auth in the patch passed.
+1 💚 unit 0m 35s hadoop-client-minicluster in the patch passed.
+1 💚 asflicense 0m 56s The patch does not generate ASF License warnings.
187m 11s
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2453/4/artifact/out/Dockerfile
GITHUB PR #2453
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient xml findbugs checkstyle
uname Linux a1cb884125ec 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / a35fc38
Default Java Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.9.1+1-Ubuntu-0ubuntu1.18.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2453/4/testReport/
Max. process+thread count 535 (vs. ulimit of 5500)
modules C: hadoop-project hadoop-common-project/hadoop-auth hadoop-client-modules/hadoop-client-minicluster U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2453/4/console
versions git=2.17.1 maven=3.6.0 findbugs=4.0.6
Powered by Apache Yetus 0.13.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 44s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
-1 ❌ test4tests 0m 0s The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ trunk Compile Tests _
+0 🆗 mvndep 13m 43s Maven dependency ordering for branch
+1 💚 mvninstall 22m 32s trunk passed
+1 💚 compile 22m 24s trunk passed with JDK Ubuntu-11.0.9.1+1-Ubuntu-0ubuntu1.18.04
+1 💚 compile 18m 58s trunk passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01
+1 💚 checkstyle 2m 35s trunk passed
+1 💚 mvnsite 2m 16s trunk passed
+1 💚 shadedclient 20m 51s branch has no errors when building and testing our client artifacts.
+1 💚 javadoc 2m 29s trunk passed with JDK Ubuntu-11.0.9.1+1-Ubuntu-0ubuntu1.18.04
+1 💚 javadoc 2m 22s trunk passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01
+0 🆗 spotbugs 0m 36s Used deprecated FindBugs config; considering switching to SpotBugs.
+0 🆗 findbugs 0m 38s branch/hadoop-project no findbugs output file (findbugsXml.xml)
+0 🆗 findbugs 0m 36s branch/hadoop-client-modules/hadoop-client-minicluster no findbugs output file (findbugsXml.xml)
_ Patch Compile Tests _
+0 🆗 mvndep 0m 58s Maven dependency ordering for patch
+1 💚 mvninstall 5m 23s the patch passed
+1 💚 compile 19m 21s the patch passed with JDK Ubuntu-11.0.9.1+1-Ubuntu-0ubuntu1.18.04
+1 💚 javac 19m 21s the patch passed
+1 💚 compile 17m 21s the patch passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01
+1 💚 javac 17m 21s the patch passed
+1 💚 checkstyle 2m 33s the patch passed
+1 💚 mvnsite 2m 40s the patch passed
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 xml 0m 4s The patch has no ill-formed XML file.
-1 ❌ shadedclient 15m 41s patch has errors when building and testing our client artifacts.
+1 💚 javadoc 2m 30s the patch passed with JDK Ubuntu-11.0.9.1+1-Ubuntu-0ubuntu1.18.04
+1 💚 javadoc 2m 27s the patch passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01
+0 🆗 findbugs 0m 36s hadoop-project has no data from findbugs
+0 🆗 findbugs 0m 38s hadoop-client-modules/hadoop-client-minicluster has no data from findbugs
_ Other Tests _
+1 💚 unit 0m 34s hadoop-project in the patch passed.
+1 💚 unit 3m 22s hadoop-auth in the patch passed.
+1 💚 unit 3m 39s hadoop-kms in the patch passed.
+1 💚 unit 0m 36s hadoop-client-minicluster in the patch passed.
+1 💚 asflicense 0m 54s The patch does not generate ASF License warnings.
193m 56s
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2453/5/artifact/out/Dockerfile
GITHUB PR #2453
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient xml findbugs checkstyle
uname Linux 212f1d2c6a10 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / a35fc38
Default Java Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.9.1+1-Ubuntu-0ubuntu1.18.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2453/5/testReport/
Max. process+thread count 543 (vs. ulimit of 5500)
modules C: hadoop-project hadoop-common-project/hadoop-auth hadoop-common-project/hadoop-kms hadoop-client-modules/hadoop-client-minicluster U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2453/5/console
versions git=2.17.1 maven=3.6.0 findbugs=4.0.6
Powered by Apache Yetus 0.13.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

@jojochuang
Copy link
Contributor Author

TestPseudoAuthenticator, TestAuthenticationFilter and TestKMS are fixed in the last PR.

@jojochuang
Copy link
Contributor Author

(and apparently updating to 9.4.35 brought more unshaded files which I'll look into)

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 1m 3s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
-1 ❌ test4tests 0m 0s The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ trunk Compile Tests _
+0 🆗 mvndep 13m 54s Maven dependency ordering for branch
+1 💚 mvninstall 20m 50s trunk passed
+1 💚 compile 20m 7s trunk passed with JDK Ubuntu-11.0.9.1+1-Ubuntu-0ubuntu1.18.04
+1 💚 compile 17m 19s trunk passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01
+1 💚 checkstyle 2m 40s trunk passed
+1 💚 mvnsite 2m 43s trunk passed
+1 💚 shadedclient 21m 16s branch has no errors when building and testing our client artifacts.
+1 💚 javadoc 2m 31s trunk passed with JDK Ubuntu-11.0.9.1+1-Ubuntu-0ubuntu1.18.04
+1 💚 javadoc 2m 21s trunk passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01
+0 🆗 spotbugs 0m 36s Used deprecated FindBugs config; considering switching to SpotBugs.
+0 🆗 findbugs 0m 40s branch/hadoop-project no findbugs output file (findbugsXml.xml)
+0 🆗 findbugs 0m 36s branch/hadoop-client-modules/hadoop-client-minicluster no findbugs output file (findbugsXml.xml)
_ Patch Compile Tests _
+0 🆗 mvndep 0m 57s Maven dependency ordering for patch
+1 💚 mvninstall 5m 24s the patch passed
+1 💚 compile 19m 22s the patch passed with JDK Ubuntu-11.0.9.1+1-Ubuntu-0ubuntu1.18.04
+1 💚 javac 19m 22s the patch passed
+1 💚 compile 17m 15s the patch passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01
+1 💚 javac 17m 15s the patch passed
+1 💚 checkstyle 2m 38s the patch passed
+1 💚 mvnsite 2m 40s the patch passed
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 xml 0m 4s The patch has no ill-formed XML file.
+1 💚 shadedclient 15m 37s patch has no errors when building and testing our client artifacts.
+1 💚 javadoc 2m 31s the patch passed with JDK Ubuntu-11.0.9.1+1-Ubuntu-0ubuntu1.18.04
+1 💚 javadoc 2m 28s the patch passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01
+0 🆗 findbugs 0m 35s hadoop-project has no data from findbugs
+0 🆗 findbugs 0m 36s hadoop-client-modules/hadoop-client-minicluster has no data from findbugs
_ Other Tests _
+1 💚 unit 0m 34s hadoop-project in the patch passed.
+1 💚 unit 3m 38s hadoop-auth in the patch passed.
+1 💚 unit 3m 41s hadoop-kms in the patch passed.
+1 💚 unit 0m 35s hadoop-client-minicluster in the patch passed.
+1 💚 asflicense 0m 56s The patch does not generate ASF License warnings.
189m 20s
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2453/6/artifact/out/Dockerfile
GITHUB PR #2453
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient xml findbugs checkstyle
uname Linux 0a3d5ff70760 4.15.0-65-generic #74-Ubuntu SMP Tue Sep 17 17:06:04 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 16a2050
Default Java Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.9.1+1-Ubuntu-0ubuntu1.18.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2453/6/testReport/
Max. process+thread count 668 (vs. ulimit of 5500)
modules C: hadoop-project hadoop-common-project/hadoop-auth hadoop-common-project/hadoop-kms hadoop-client-modules/hadoop-client-minicluster U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2453/6/console
versions git=2.17.1 maven=3.6.0 findbugs=4.0.6
Powered by Apache Yetus 0.13.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

Copy link
Member

@aajisaka aajisaka left a comment

Choose a reason for hiding this comment

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

LGTM, +1

@Sushmasree-28
Copy link
Contributor

Thank you for the work here everyone.
Jetty Upgrade can cause failure of TestCheckpoint and TestWebHdfsWithRestCsrfPreventionFilter as well.
sendError() is used in bothRestCsrfPreventionFilter.java and ImageServlet.java, we can setStatusWithReason() to resolve these failures too.

… Wei-Chiu Chuang.

Change-Id: I972c3120ec37ea024de9ea43afcb164457be1ea8
Change-Id: I0db7b8ac45df0c6afb951c72c799a511f30b3230
…age.

Change-Id: Ifa9dcc9fcf6ba1dc4b0d96c66c64a6cddab3d120
Change-Id: I2595590289bc203c13c82024ba611d69fcca249b
Change-Id: Idab5e694d69b0960981fea7a39476ec767aa57bf
Change-Id: Id82219e354066e68c783b46f293c56c8874b4498
Change-Id: I4405e030399504e715dc7bb9675300f079215a70
jetty-security 9.4.35 adds a new dependency jetty-util-ajax. Exclude it to make shading pass.

Change-Id: I9f62d76cd74bc89ede2c28d440dbe316545393aa
…mage servlet.

Change-Id: Id4aaf799a481902a2ca32f25399d454d376066f1
@jojochuang
Copy link
Contributor Author

@Sushmasree-28 thanks for the review. I updated the PR to address these two tetsts. However, please note that we use sendError() throughout the codebase. Unless they break tests I suggest we postpone any further changes to a future jira.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 0m 30s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
-1 ❌ test4tests 0m 0s The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ trunk Compile Tests _
+0 🆗 mvndep 15m 21s Maven dependency ordering for branch
+1 💚 mvninstall 21m 5s trunk passed
+1 💚 compile 20m 3s trunk passed with JDK Ubuntu-11.0.9.1+1-Ubuntu-0ubuntu1.18.04
+1 💚 compile 17m 21s trunk passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01
+1 💚 checkstyle 2m 41s trunk passed
+1 💚 mvnsite 5m 45s trunk passed
+1 💚 shadedclient 24m 27s branch has no errors when building and testing our client artifacts.
+1 💚 javadoc 4m 41s trunk passed with JDK Ubuntu-11.0.9.1+1-Ubuntu-0ubuntu1.18.04
+1 💚 javadoc 5m 37s trunk passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01
+0 🆗 spotbugs 0m 37s Used deprecated FindBugs config; considering switching to SpotBugs.
+0 🆗 findbugs 0m 39s branch/hadoop-project no findbugs output file (findbugsXml.xml)
+0 🆗 findbugs 0m 36s branch/hadoop-client-modules/hadoop-client-minicluster no findbugs output file (findbugsXml.xml)
_ Patch Compile Tests _
+0 🆗 mvndep 0m 58s Maven dependency ordering for patch
+1 💚 mvninstall 7m 34s the patch passed
+1 💚 compile 19m 26s the patch passed with JDK Ubuntu-11.0.9.1+1-Ubuntu-0ubuntu1.18.04
+1 💚 javac 19m 26s the patch passed
+1 💚 compile 17m 26s the patch passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01
+1 💚 javac 17m 26s the patch passed
+1 💚 checkstyle 2m 37s the patch passed
+1 💚 mvnsite 5m 44s the patch passed
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 xml 0m 4s The patch has no ill-formed XML file.
+1 💚 shadedclient 15m 33s patch has no errors when building and testing our client artifacts.
+1 💚 javadoc 4m 38s the patch passed with JDK Ubuntu-11.0.9.1+1-Ubuntu-0ubuntu1.18.04
+1 💚 javadoc 5m 44s the patch passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01
+0 🆗 findbugs 0m 36s hadoop-project has no data from findbugs
+0 🆗 findbugs 0m 46s hadoop-client-modules/hadoop-client-minicluster has no data from findbugs
_ Other Tests _
+1 💚 unit 0m 36s hadoop-project in the patch passed.
+1 💚 unit 3m 23s hadoop-auth in the patch passed.
+1 💚 unit 9m 38s hadoop-common in the patch passed.
+1 💚 unit 3m 42s hadoop-kms in the patch passed.
-1 ❌ unit 97m 23s /patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt hadoop-hdfs in the patch passed.
+1 💚 unit 0m 46s hadoop-client-minicluster in the patch passed.
+1 💚 asflicense 1m 7s The patch does not generate ASF License warnings.
328m 31s
Reason Tests
Failed junit tests hadoop.hdfs.server.balancer.TestBalancer
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2453/8/artifact/out/Dockerfile
GITHUB PR #2453
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient xml findbugs checkstyle
uname Linux ddd9ff857aea 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 513f199
Default Java Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.9.1+1-Ubuntu-0ubuntu1.18.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2453/8/testReport/
Max. process+thread count 4068 (vs. ulimit of 5500)
modules C: hadoop-project hadoop-common-project/hadoop-auth hadoop-common-project/hadoop-common hadoop-common-project/hadoop-kms hadoop-hdfs-project/hadoop-hdfs hadoop-client-modules/hadoop-client-minicluster U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2453/8/console
versions git=2.17.1 maven=3.6.0 findbugs=4.0.6
Powered by Apache Yetus 0.13.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

@jojochuang
Copy link
Contributor Author

The failed test is this "TestBalancer.testMaxIterationTime:1669 Unexpected iteration runtime: 4007ms > 3.5s"
this kind of time measuring tests are prone to transient failures. Don't think it's related.

Copy link
Contributor

@brahmareddybattula brahmareddybattula left a comment

Choose a reason for hiding this comment

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

LGTM.. thanks for working on this.. Hopefully downstream projects will not impact due to this version bump.

@jojochuang jojochuang merged commit 66ee0a6 into apache:trunk Jan 4, 2021
asfgit pushed a commit that referenced this pull request Jan 4, 2021
jojochuang added a commit that referenced this pull request Jan 21, 2021
jojochuang added a commit to jojochuang/hadoop that referenced this pull request Apr 9, 2021
… Wei-Chiu Chuang. (apache#2453)

(cherry picked from commit 66ee0a6)
(cherry picked from commit 6340ac8)

 Conflicts:
	hadoop-client-modules/hadoop-client-minicluster/pom.xml

Change-Id: I673ac136922740cb1d426cb9593aa1bd3e9acd32
jojochuang added a commit that referenced this pull request Apr 20, 2021
…OP-17625 to update Jetty to 9.4.39. (#2879)

* HADOOP-17371. Bump Jetty to the latest version 9.4.34. Contributed by Wei-Chiu Chuang. (#2453)

(cherry picked from commit 66ee0a6)
(cherry picked from commit 6340ac8)

 Conflicts:
	hadoop-client-modules/hadoop-client-minicluster/pom.xml

Change-Id: I673ac136922740cb1d426cb9593aa1bd3e9acd32

* HADOOP-17621. hadoop-auth to remove jetty-server dependency. (#2865)

Reviewed-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit dac60b8)
(cherry picked from commit 1110b03)

* HADOOP-17625. Update to Jetty 9.4.39. (#2870)

Reviewed-by: cxorm <lianp964@gmail.com>
(cherry picked from commit 6040e86)
(cherry picked from commit 7f75355)
jojochuang added a commit to jojochuang/hadoop that referenced this pull request Apr 20, 2021
…OP-17625 to update Jetty to 9.4.39. (apache#2879)

* HADOOP-17371. Bump Jetty to the latest version 9.4.34. Contributed by Wei-Chiu Chuang. (apache#2453)

(cherry picked from commit 66ee0a6)
(cherry picked from commit 6340ac8)

 Conflicts:
	hadoop-client-modules/hadoop-client-minicluster/pom.xml

Change-Id: I673ac136922740cb1d426cb9593aa1bd3e9acd32

* HADOOP-17621. hadoop-auth to remove jetty-server dependency. (apache#2865)

Reviewed-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit dac60b8)
(cherry picked from commit 1110b03)

* HADOOP-17625. Update to Jetty 9.4.39. (apache#2870)

Reviewed-by: cxorm <lianp964@gmail.com>
(cherry picked from commit 6040e86)
(cherry picked from commit 7f75355)
(cherry picked from commit 8ff61f9)

 Conflicts:
	hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/ImageServlet.java

Change-Id: I465f6003b6f4c5df9c41c83eac3738bac56403e1
jojochuang added a commit that referenced this pull request Apr 20, 2021
…OP-17625 to update Jetty to 9.4.39. (#2879) (#2935)

* HADOOP-17371. Bump Jetty to the latest version 9.4.34. Contributed by Wei-Chiu Chuang. (#2453)

(cherry picked from commit 66ee0a6)
(cherry picked from commit 6340ac8)

 Conflicts:
	hadoop-client-modules/hadoop-client-minicluster/pom.xml

Change-Id: I673ac136922740cb1d426cb9593aa1bd3e9acd32

* HADOOP-17621. hadoop-auth to remove jetty-server dependency. (#2865)

Reviewed-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit dac60b8)
(cherry picked from commit 1110b03)

* HADOOP-17625. Update to Jetty 9.4.39. (#2870)

Reviewed-by: cxorm <lianp964@gmail.com>
(cherry picked from commit 6040e86)
(cherry picked from commit 7f75355)
(cherry picked from commit 8ff61f9)

 Conflicts:
	hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/ImageServlet.java

Change-Id: I465f6003b6f4c5df9c41c83eac3738bac56403e1
eubnara added a commit to eubnara/hadoop that referenced this pull request Mar 15, 2023
eubnara added a commit to eubnara/hadoop that referenced this pull request Mar 15, 2023
jojochuang added a commit to jojochuang/hadoop that referenced this pull request May 23, 2023
… Wei-Chiu Chuang. (apache#2453)

(cherry picked from commit 66ee0a6)

 Conflicts:
	hadoop-client-modules/hadoop-client-minicluster/pom.xml
	hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/ImageServlet.java
	hadoop-project/pom.xml

Change-Id: I9f0fb7b91ba07a4b722bf9f8c31f07a1a2bd0896
(cherry picked from commit e6b712bb2a57bf3cc29af7bb6cf0010e54c786c5)
(cherry picked from commit 764e56807397200cb03164ee976d02cad202c09e)
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.

5 participants