Skip to content

HDFS-16714: Replace okhttp by apache http client - #4684

Closed
pan3793 wants to merge 5 commits into
apache:trunkfrom
pan3793:HDFS-16714
Closed

HDFS-16714: Replace okhttp by apache http client#4684
pan3793 wants to merge 5 commits into
apache:trunkfrom
pan3793:HDFS-16714

Conversation

@pan3793

Copy link
Copy Markdown
Member

Description of PR

Repalce okhttp by apache http client, and remove kotlin dependencies

How was this patch tested?

Existing test.

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?

@pan3793

Copy link
Copy Markdown
MemberAuthor

Hi @zhongjun2, currently, esdk-obs-java:3.20.4.2 still depends on okhttp, I checked the latest https://mvnrepository.com/artifact/com.huaweicloud/esdk-obs-java/3.22.3.1 removed (or shaded?) it, could you please update it?

@hadoop-yetus

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeLogfileComment
+0 🆗reexec0m 37sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 1sNo case conflicting files found.
+0 🆗codespell0m 0scodespell was not available.
+0 🆗detsecrets0m 0sdetect-secrets was not available.
+0 🆗xmllint0m 0sxmllint was not available.
+0 🆗shelldocs0m 0sShelldocs was not available.
+1 💚@author0m 0sThe patch does not contain any @author tags.
-1 ❌test4tests0m 0sThe 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 🆗mvndep15m 25sMaven dependency ordering for branch
+1 💚mvninstall25m 30strunk passed
+1 💚compile23m 17strunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu0.20.04.1
+1 💚compile20m 45strunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
+1 💚checkstyle4m 25strunk passed
+1 💚mvnsite19m 23strunk passed
+1 💚javadoc8m 18strunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu0.20.04.1
+1 💚javadoc7m 23strunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
+0 🆗spotbugs0m 35sbranch/hadoop-project no spotbugs output file (spotbugsXml.xml)
+0 🆗spotbugs0m 34sbranch/hadoop-client-modules/hadoop-client no spotbugs output file (spotbugsXml.xml)
+1 💚shadedclient55m 4sbranch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+0 🆗mvndep0m 40sMaven dependency ordering for patch
-1 ❌mvninstall1m 30s/patch-mvninstall-root.txtroot in the patch failed.
+1 💚compile22m 24sthe patch passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu0.20.04.1
+1 💚javac22m 24sthe patch passed
+1 💚compile20m 42sthe patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
-1 ❌javac20m 42s/results-compile-javac-root-jdkPrivateBuild-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07.txtroot-jdkPrivateBuild-1.8.0_312-8u312-b07-0ubuntu120.04-b07 with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu120.04-b07 generated 1 new + 2653 unchanged - 3 fixed = 2654 total (was 2656)
+1 💚blanks0m 0sThe patch has no blanks issues.
-0 ⚠️checkstyle4m 13s/results-checkstyle-root.txtroot: The patch generated 2 new + 0 unchanged - 0 fixed = 2 total (was 0)
+1 💚mvnsite18m 30sthe patch passed
+1 💚shellcheck0m 0sNo new issues.
+1 💚javadoc8m 5sthe patch passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu0.20.04.1
+1 💚javadoc7m 31sthe patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
+0 🆗spotbugs0m 34shadoop-project has no data from spotbugs
-1 ❌spotbugs2m 51s/new-spotbugs-hadoop-hdfs-project_hadoop-hdfs-client.htmlhadoop-hdfs-project/hadoop-hdfs-client generated 2 new + 0 unchanged - 0 fixed = 2 total (was 0)
+0 🆗spotbugs0m 34shadoop-client-modules/hadoop-client has no data from spotbugs
-1 ❌spotbugs33m 33s/new-spotbugs-root.htmlroot generated 2 new + 0 unchanged - 0 fixed = 2 total (was 0)
-1 ❌shadedclient38m 7spatch has errors when building and testing our client artifacts.
_ Other Tests _
-1 ❌unit154m 54s/patch-unit-root.txtroot in the patch failed.
+0 🆗asflicense1m 16sASF License check generated no output?
474m 1s
ReasonTests
SpotBugsmodule:hadoop-hdfs-project/hadoop-hdfs-client
Exception is caught when Exception is not thrown in org.apache.hadoop.hdfs.web.oauth2.ConfRefreshTokenBasedAccessTokenProvider.refresh() At ConfRefreshTokenBasedAccessTokenProvider.java:is not thrown in org.apache.hadoop.hdfs.web.oauth2.ConfRefreshTokenBasedAccessTokenProvider.refresh() At ConfRefreshTokenBasedAccessTokenProvider.java:[line 145]
Exception is caught when Exception is not thrown in org.apache.hadoop.hdfs.web.oauth2.CredentialBasedAccessTokenProvider.refresh() At CredentialBasedAccessTokenProvider.java:is not thrown in org.apache.hadoop.hdfs.web.oauth2.CredentialBasedAccessTokenProvider.refresh() At CredentialBasedAccessTokenProvider.java:[line 139]
SpotBugsmodule:root
Exception is caught when Exception is not thrown in org.apache.hadoop.hdfs.web.oauth2.ConfRefreshTokenBasedAccessTokenProvider.refresh() At ConfRefreshTokenBasedAccessTokenProvider.java:is not thrown in org.apache.hadoop.hdfs.web.oauth2.ConfRefreshTokenBasedAccessTokenProvider.refresh() At ConfRefreshTokenBasedAccessTokenProvider.java:[line 145]
Exception is caught when Exception is not thrown in org.apache.hadoop.hdfs.web.oauth2.CredentialBasedAccessTokenProvider.refresh() At CredentialBasedAccessTokenProvider.java:is not thrown in org.apache.hadoop.hdfs.web.oauth2.CredentialBasedAccessTokenProvider.refresh() At CredentialBasedAccessTokenProvider.java:[line 139]
Failed junit testshadoop.hdfs.TestParallelUnixDomainRead
hadoop.hdfs.TestDistributedFileSystemWithECFileWithRandomECPolicy
hadoop.hdfs.TestHDFSFileSystemContract
hadoop.hdfs.TestDFSStripedOutputStream
hadoop.hdfs.TestDistributedFileSystem
hadoop.hdfs.TestReadStripedFileWithDNFailure
hadoop.hdfs.TestGetBlocks
hadoop.hdfs.TestFileChecksum
hadoop.hdfs.TestLeaseRecovery
hadoop.hdfs.TestUnsetAndChangeDirectoryEcPolicy
hadoop.hdfs.TestDFSClientExcludedNodes
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4684/4/artifact/out/Dockerfile
GITHUB PR#4684
Optional Testsdupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient codespell detsecrets xmllint spotbugs checkstyle shellcheck shelldocs
unameLinux 47ed3315595c 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 toolmaven
Personalitydev-support/bin/hadoop.sh
git revisiontrunk / b5e1ed5
Default JavaPrivate Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
Multi-JDK versions/usr/lib/jvm/java-11-openjdk-amd64:Private Build-11.0.15+10-Ubuntu-0ubuntu0.20.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
Test Resultshttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4684/4/testReport/
Max. process+thread count3277 (vs. ulimit of 5500)
modulesC: hadoop-project hadoop-hdfs-project/hadoop-hdfs-client hadoop-client-modules/hadoop-client . U: .
Console outputhttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4684/4/console
versionsgit=2.25.1 maven=3.6.3 spotbugs=4.2.2 shellcheck=0.7.0
Powered byApache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

@hadoop-yetus

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeLogfileComment
+0 🆗reexec0m 47sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+0 🆗codespell0m 0scodespell was not available.
+0 🆗detsecrets0m 0sdetect-secrets was not available.
+0 🆗xmllint0m 0sxmllint was not available.
+0 🆗shelldocs0m 1sShelldocs was not available.
+1 💚@author0m 0sThe patch does not contain any @author tags.
-1 ❌test4tests0m 0sThe 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 🆗mvndep15m 29sMaven dependency ordering for branch
+1 💚mvninstall27m 8strunk passed
+1 💚compile26m 4strunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu0.20.04.1
+1 💚compile22m 16strunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
+1 💚checkstyle4m 50strunk passed
+1 💚mvnsite20m 24strunk passed
+1 💚javadoc8m 33strunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu0.20.04.1
+1 💚javadoc7m 54strunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
+0 🆗spotbugs0m 34sbranch/hadoop-project no spotbugs output file (spotbugsXml.xml)
+0 🆗spotbugs0m 30sbranch/hadoop-client-modules/hadoop-client no spotbugs output file (spotbugsXml.xml)
+1 💚shadedclient54m 45sbranch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+0 🆗mvndep0m 37sMaven dependency ordering for patch
-1 ❌mvninstall1m 32s/patch-mvninstall-root.txtroot in the patch failed.
+1 💚compile22m 21sthe patch passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu0.20.04.1
+1 💚javac22m 21sthe patch passed
+1 💚compile20m 46sthe patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
-1 ❌javac20m 46s/results-compile-javac-root-jdkPrivateBuild-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07.txtroot-jdkPrivateBuild-1.8.0_312-8u312-b07-0ubuntu120.04-b07 with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu120.04-b07 generated 1 new + 2650 unchanged - 1 fixed = 2651 total (was 2651)
+1 💚blanks0m 0sThe patch has no blanks issues.
-0 ⚠️checkstyle4m 10s/results-checkstyle-root.txtroot: The patch generated 2 new + 0 unchanged - 0 fixed = 2 total (was 0)
+1 💚mvnsite18m 42sthe patch passed
+1 💚shellcheck0m 1sNo new issues.
+1 💚javadoc8m 12sthe patch passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu0.20.04.1
+1 💚javadoc7m 24sthe patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
+0 🆗spotbugs0m 34shadoop-project has no data from spotbugs
-1 ❌spotbugs2m 49s/new-spotbugs-hadoop-hdfs-project_hadoop-hdfs-client.htmlhadoop-hdfs-project/hadoop-hdfs-client generated 2 new + 0 unchanged - 0 fixed = 2 total (was 0)
+0 🆗spotbugs0m 34shadoop-client-modules/hadoop-client has no data from spotbugs
-1 ❌spotbugs33m 32s/new-spotbugs-root.htmlroot generated 2 new + 0 unchanged - 0 fixed = 2 total (was 0)
-1 ❌shadedclient38m 5spatch has errors when building and testing our client artifacts.
_ Other Tests _
-1 ❌unit160m 25s/patch-unit-root.txtroot in the patch failed.
+0 🆗asflicense1m 4sASF License check generated no output?
487m 47s
ReasonTests
SpotBugsmodule:hadoop-hdfs-project/hadoop-hdfs-client
Exception is caught when Exception is not thrown in org.apache.hadoop.hdfs.web.oauth2.ConfRefreshTokenBasedAccessTokenProvider.refresh() At ConfRefreshTokenBasedAccessTokenProvider.java:is not thrown in org.apache.hadoop.hdfs.web.oauth2.ConfRefreshTokenBasedAccessTokenProvider.refresh() At ConfRefreshTokenBasedAccessTokenProvider.java:[line 145]
Exception is caught when Exception is not thrown in org.apache.hadoop.hdfs.web.oauth2.CredentialBasedAccessTokenProvider.refresh() At CredentialBasedAccessTokenProvider.java:is not thrown in org.apache.hadoop.hdfs.web.oauth2.CredentialBasedAccessTokenProvider.refresh() At CredentialBasedAccessTokenProvider.java:[line 139]
SpotBugsmodule:root
Exception is caught when Exception is not thrown in org.apache.hadoop.hdfs.web.oauth2.ConfRefreshTokenBasedAccessTokenProvider.refresh() At ConfRefreshTokenBasedAccessTokenProvider.java:is not thrown in org.apache.hadoop.hdfs.web.oauth2.ConfRefreshTokenBasedAccessTokenProvider.refresh() At ConfRefreshTokenBasedAccessTokenProvider.java:[line 145]
Exception is caught when Exception is not thrown in org.apache.hadoop.hdfs.web.oauth2.CredentialBasedAccessTokenProvider.refresh() At CredentialBasedAccessTokenProvider.java:is not thrown in org.apache.hadoop.hdfs.web.oauth2.CredentialBasedAccessTokenProvider.refresh() At CredentialBasedAccessTokenProvider.java:[line 139]
Failed junit testshadoop.hdfs.server.datanode.fsdataset.impl.TestDatanodeRestart
hadoop.hdfs.server.datanode.TestDataNodeLifeline
hadoop.hdfs.server.datanode.TestBlockRecovery2
hadoop.hdfs.server.datanode.TestDataNodeMetricsLogger
hadoop.hdfs.server.datanode.TestDataNodeReconfiguration
hadoop.hdfs.server.datanode.TestDataNodeErasureCodingMetrics
hadoop.hdfs.server.datanode.TestDataNodeVolumeMetrics
hadoop.hdfs.server.datanode.checker.TestDatasetVolumeCheckerTimeout
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4684/1/artifact/out/Dockerfile
GITHUB PR#4684
Optional Testsdupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient codespell detsecrets xmllint spotbugs checkstyle shellcheck shelldocs
unameLinux 0752119b5afb 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 toolmaven
Personalitydev-support/bin/hadoop.sh
git revisiontrunk / 1c3e894
Default JavaPrivate Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
Multi-JDK versions/usr/lib/jvm/java-11-openjdk-amd64:Private Build-11.0.15+10-Ubuntu-0ubuntu0.20.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
Test Resultshttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4684/1/testReport/
Max. process+thread count2889 (vs. ulimit of 5500)
modulesC: hadoop-project hadoop-hdfs-project/hadoop-hdfs-client hadoop-client-modules/hadoop-client . U: .
Console outputhttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4684/1/console
versionsgit=2.25.1 maven=3.6.3 spotbugs=4.2.2 shellcheck=0.7.0
Powered byApache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

@pan3793pan3793 changed the title HDFS-16714: Repalce okhttp by apache http clientHDFS-16714: Replace okhttp by apache http clientAug 4, 2022
@hadoop-yetus

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeLogfileComment
+0 🆗reexec0m 46sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+0 🆗codespell0m 1scodespell was not available.
+0 🆗detsecrets0m 1sdetect-secrets was not available.
+0 🆗xmllint0m 1sxmllint was not available.
+0 🆗shelldocs0m 1sShelldocs was not available.
+1 💚@author0m 0sThe patch does not contain any @author tags.
-1 ❌test4tests0m 0sThe 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 🆗mvndep15m 32sMaven dependency ordering for branch
+1 💚mvninstall26m 16strunk passed
+1 💚compile24m 27strunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu0.20.04.1
+1 💚compile20m 55strunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
+1 💚checkstyle3m 47strunk passed
+1 💚mvnsite19m 25strunk passed
+1 💚javadoc8m 20strunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu0.20.04.1
+1 💚javadoc7m 23strunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
+0 🆗spotbugs0m 22sbranch/hadoop-project no spotbugs output file (spotbugsXml.xml)
+0 🆗spotbugs0m 21sbranch/hadoop-client-modules/hadoop-client no spotbugs output file (spotbugsXml.xml)
+1 💚shadedclient55m 21sbranch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+0 🆗mvndep0m 36sMaven dependency ordering for patch
-1 ❌mvninstall1m 27s/patch-mvninstall-root.txtroot in the patch failed.
+1 💚compile23m 41sthe patch passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu0.20.04.1
+1 💚javac23m 41sthe patch passed
+1 💚compile20m 35sthe patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
-1 ❌javac20m 35s/results-compile-javac-root-jdkPrivateBuild-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07.txtroot-jdkPrivateBuild-1.8.0_312-8u312-b07-0ubuntu120.04-b07 with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu120.04-b07 generated 4 new + 2647 unchanged - 1 fixed = 2651 total (was 2648)
+1 💚blanks0m 0sThe patch has no blanks issues.
-0 ⚠️checkstyle3m 37s/results-checkstyle-root.txtroot: The patch generated 2 new + 0 unchanged - 0 fixed = 2 total (was 0)
+1 💚mvnsite18m 59sthe patch passed
+1 💚shellcheck0m 0sNo new issues.
+1 💚javadoc8m 14sthe patch passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu0.20.04.1
+1 💚javadoc7m 21sthe patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
+0 🆗spotbugs0m 21shadoop-project has no data from spotbugs
-1 ❌spotbugs2m 40s/new-spotbugs-hadoop-hdfs-project_hadoop-hdfs-client.htmlhadoop-hdfs-project/hadoop-hdfs-client generated 2 new + 0 unchanged - 0 fixed = 2 total (was 0)
+0 🆗spotbugs0m 20shadoop-client-modules/hadoop-client has no data from spotbugs
-1 ❌spotbugs35m 34s/new-spotbugs-root.htmlroot generated 2 new + 0 unchanged - 0 fixed = 2 total (was 0)
-1 ❌shadedclient39m 24spatch has errors when building and testing our client artifacts.
_ Other Tests _
-1 ❌unit801m 0s/patch-unit-root.txtroot in the patch passed.
+1 💚asflicense1m 28sThe patch does not generate ASF License warnings.
1121m 40s
ReasonTests
SpotBugsmodule:hadoop-hdfs-project/hadoop-hdfs-client
Exception is caught when Exception is not thrown in org.apache.hadoop.hdfs.web.oauth2.ConfRefreshTokenBasedAccessTokenProvider.refresh() At ConfRefreshTokenBasedAccessTokenProvider.java:is not thrown in org.apache.hadoop.hdfs.web.oauth2.ConfRefreshTokenBasedAccessTokenProvider.refresh() At ConfRefreshTokenBasedAccessTokenProvider.java:[line 145]
Exception is caught when Exception is not thrown in org.apache.hadoop.hdfs.web.oauth2.CredentialBasedAccessTokenProvider.refresh() At CredentialBasedAccessTokenProvider.java:is not thrown in org.apache.hadoop.hdfs.web.oauth2.CredentialBasedAccessTokenProvider.refresh() At CredentialBasedAccessTokenProvider.java:[line 139]
SpotBugsmodule:root
Exception is caught when Exception is not thrown in org.apache.hadoop.hdfs.web.oauth2.ConfRefreshTokenBasedAccessTokenProvider.refresh() At ConfRefreshTokenBasedAccessTokenProvider.java:is not thrown in org.apache.hadoop.hdfs.web.oauth2.ConfRefreshTokenBasedAccessTokenProvider.refresh() At ConfRefreshTokenBasedAccessTokenProvider.java:[line 145]
Exception is caught when Exception is not thrown in org.apache.hadoop.hdfs.web.oauth2.CredentialBasedAccessTokenProvider.refresh() At CredentialBasedAccessTokenProvider.java:is not thrown in org.apache.hadoop.hdfs.web.oauth2.CredentialBasedAccessTokenProvider.refresh() At CredentialBasedAccessTokenProvider.java:[line 139]
Failed junit testshadoop.yarn.server.resourcemanager.reservation.TestCapacityOverTimePolicy
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4684/5/artifact/out/Dockerfile
GITHUB PR#4684
Optional Testsdupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient codespell detsecrets xmllint spotbugs checkstyle shellcheck shelldocs
unameLinux 8a65fdb51ce2 4.15.0-169-generic #177-Ubuntu SMP Thu Feb 3 10:50:38 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/bin/hadoop.sh
git revisiontrunk / 0056f0d
Default JavaPrivate Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
Multi-JDK versions/usr/lib/jvm/java-11-openjdk-amd64:Private Build-11.0.15+10-Ubuntu-0ubuntu0.20.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
Test Resultshttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4684/5/testReport/
Max. process+thread count3577 (vs. ulimit of 5500)
modulesC: hadoop-project hadoop-hdfs-project/hadoop-hdfs-client hadoop-client-modules/hadoop-client . U: .
Console outputhttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4684/5/console
versionsgit=2.25.1 maven=3.6.3 spotbugs=4.2.2 shellcheck=0.7.0
Powered byApache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

@hadoop-yetus

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeLogfileComment
+0 🆗reexec0m 42sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+0 🆗codespell0m 0scodespell was not available.
+0 🆗detsecrets0m 0sdetect-secrets was not available.
+0 🆗xmllint0m 0sxmllint was not available.
+0 🆗shelldocs0m 0sShelldocs was not available.
+1 💚@author0m 0sThe patch does not contain any @author tags.
-1 ❌test4tests0m 0sThe 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 🆗mvndep15m 35sMaven dependency ordering for branch
+1 💚mvninstall26m 29strunk passed
+1 💚compile26m 3strunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu0.20.04.1
+1 💚compile23m 6strunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
+1 💚checkstyle4m 29strunk passed
+1 💚mvnsite20m 32strunk passed
+1 💚javadoc8m 57strunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu0.20.04.1
+1 💚javadoc7m 45strunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
+0 🆗spotbugs0m 29sbranch/hadoop-project no spotbugs output file (spotbugsXml.xml)
+0 🆗spotbugs0m 26sbranch/hadoop-client-modules/hadoop-client no spotbugs output file (spotbugsXml.xml)
+1 💚shadedclient56m 19sbranch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+0 🆗mvndep0m 40sMaven dependency ordering for patch
-1 ❌mvninstall1m 32s/patch-mvninstall-root.txtroot in the patch failed.
+1 💚compile25m 8sthe patch passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu0.20.04.1
+1 💚javac25m 8sthe patch passed
+1 💚compile23m 20sthe patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
-1 ❌javac23m 20s/results-compile-javac-root-jdkPrivateBuild-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07.txtroot-jdkPrivateBuild-1.8.0_312-8u312-b07-0ubuntu120.04-b07 with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu120.04-b07 generated 2 new + 2649 unchanged - 2 fixed = 2651 total (was 2651)
+1 💚blanks0m 0sThe patch has no blanks issues.
-0 ⚠️checkstyle4m 19s/results-checkstyle-root.txtroot: The patch generated 2 new + 0 unchanged - 0 fixed = 2 total (was 0)
+1 💚mvnsite20m 12sthe patch passed
+1 💚shellcheck0m 0sNo new issues.
+1 💚javadoc8m 54sthe patch passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu0.20.04.1
+1 💚javadoc7m 44sthe patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
+0 🆗spotbugs0m 27shadoop-project has no data from spotbugs
-1 ❌spotbugs2m 59s/new-spotbugs-hadoop-hdfs-project_hadoop-hdfs-client.htmlhadoop-hdfs-project/hadoop-hdfs-client generated 2 new + 0 unchanged - 0 fixed = 2 total (was 0)
+0 🆗spotbugs0m 29shadoop-client-modules/hadoop-client has no data from spotbugs
-1 ❌spotbugs37m 28s/new-spotbugs-root.htmlroot generated 2 new + 0 unchanged - 0 fixed = 2 total (was 0)
-1 ❌shadedclient41m 41spatch has errors when building and testing our client artifacts.
_ Other Tests _
+1 💚unit836m 3sroot in the patch passed.
+1 💚asflicense2m 39sThe patch does not generate ASF License warnings.
1177m 31s
ReasonTests
SpotBugsmodule:hadoop-hdfs-project/hadoop-hdfs-client
Exception is caught when Exception is not thrown in org.apache.hadoop.hdfs.web.oauth2.ConfRefreshTokenBasedAccessTokenProvider.refresh() At ConfRefreshTokenBasedAccessTokenProvider.java:is not thrown in org.apache.hadoop.hdfs.web.oauth2.ConfRefreshTokenBasedAccessTokenProvider.refresh() At ConfRefreshTokenBasedAccessTokenProvider.java:[line 145]
Exception is caught when Exception is not thrown in org.apache.hadoop.hdfs.web.oauth2.CredentialBasedAccessTokenProvider.refresh() At CredentialBasedAccessTokenProvider.java:is not thrown in org.apache.hadoop.hdfs.web.oauth2.CredentialBasedAccessTokenProvider.refresh() At CredentialBasedAccessTokenProvider.java:[line 139]
SpotBugsmodule:root
Exception is caught when Exception is not thrown in org.apache.hadoop.hdfs.web.oauth2.ConfRefreshTokenBasedAccessTokenProvider.refresh() At ConfRefreshTokenBasedAccessTokenProvider.java:is not thrown in org.apache.hadoop.hdfs.web.oauth2.ConfRefreshTokenBasedAccessTokenProvider.refresh() At ConfRefreshTokenBasedAccessTokenProvider.java:[line 145]
Exception is caught when Exception is not thrown in org.apache.hadoop.hdfs.web.oauth2.CredentialBasedAccessTokenProvider.refresh() At CredentialBasedAccessTokenProvider.java:is not thrown in org.apache.hadoop.hdfs.web.oauth2.CredentialBasedAccessTokenProvider.refresh() At CredentialBasedAccessTokenProvider.java:[line 139]
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4684/2/artifact/out/Dockerfile
GITHUB PR#4684
Optional Testsdupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient codespell detsecrets xmllint spotbugs checkstyle shellcheck shelldocs
unameLinux c5af723301a9 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/bin/hadoop.sh
git revisiontrunk / b5e1ed5
Default JavaPrivate Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
Multi-JDK versions/usr/lib/jvm/java-11-openjdk-amd64:Private Build-11.0.15+10-Ubuntu-0ubuntu0.20.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
Test Resultshttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4684/2/testReport/
Max. process+thread count3137 (vs. ulimit of 5500)
modulesC: hadoop-project hadoop-hdfs-project/hadoop-hdfs-client hadoop-client-modules/hadoop-client . U: .
Console outputhttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4684/2/console
versionsgit=2.25.1 maven=3.6.3 spotbugs=4.2.2 shellcheck=0.7.0
Powered byApache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

@hadoop-yetus

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeLogfileComment
+0 🆗reexec0m 40sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 1sNo case conflicting files found.
+0 🆗codespell0m 0scodespell was not available.
+0 🆗detsecrets0m 0sdetect-secrets was not available.
+0 🆗xmllint0m 0sxmllint was not available.
+0 🆗shelldocs0m 0sShelldocs was not available.
+1 💚@author0m 0sThe patch does not contain any @author tags.
-1 ❌test4tests0m 0sThe 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 🆗mvndep15m 28sMaven dependency ordering for branch
+1 💚mvninstall26m 18strunk passed
+1 💚compile26m 4strunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu0.20.04.1
+1 💚compile23m 20strunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
+1 💚checkstyle4m 9strunk passed
+1 💚mvnsite20m 40strunk passed
+1 💚javadoc8m 58strunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu0.20.04.1
+1 💚javadoc7m 49strunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
+0 🆗spotbugs0m 29sbranch/hadoop-project no spotbugs output file (spotbugsXml.xml)
+0 🆗spotbugs0m 29sbranch/hadoop-client-modules/hadoop-client no spotbugs output file (spotbugsXml.xml)
+1 💚shadedclient60m 16sbranch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+0 🆗mvndep0m 40sMaven dependency ordering for patch
-1 ❌mvninstall1m 41s/patch-mvninstall-root.txtroot in the patch failed.
+1 💚compile25m 18sthe patch passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu0.20.04.1
+1 💚javac25m 18sthe patch passed
+1 💚compile22m 46sthe patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
-1 ❌javac22m 46s/results-compile-javac-root-jdkPrivateBuild-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07.txtroot-jdkPrivateBuild-1.8.0_312-8u312-b07-0ubuntu120.04-b07 with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu120.04-b07 generated 2 new + 2653 unchanged - 2 fixed = 2655 total (was 2655)
+1 💚blanks0m 0sThe patch has no blanks issues.
-0 ⚠️checkstyle4m 24s/results-checkstyle-root.txtroot: The patch generated 2 new + 0 unchanged - 0 fixed = 2 total (was 0)
+1 💚mvnsite20m 7sthe patch passed
+1 💚shellcheck0m 0sNo new issues.
+1 💚javadoc8m 55sthe patch passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu0.20.04.1
+1 💚javadoc7m 46sthe patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
+0 🆗spotbugs0m 30shadoop-project has no data from spotbugs
-1 ❌spotbugs2m 54s/new-spotbugs-hadoop-hdfs-project_hadoop-hdfs-client.htmlhadoop-hdfs-project/hadoop-hdfs-client generated 2 new + 0 unchanged - 0 fixed = 2 total (was 0)
+0 🆗spotbugs0m 30shadoop-client-modules/hadoop-client has no data from spotbugs
-1 ❌spotbugs37m 16s/new-spotbugs-root.htmlroot generated 2 new + 0 unchanged - 0 fixed = 2 total (was 0)
-1 ❌shadedclient41m 43spatch has errors when building and testing our client artifacts.
_ Other Tests _
+1 💚unit836m 8sroot in the patch passed.
+1 💚asflicense2m 43sThe patch does not generate ASF License warnings.
1181m 14s
ReasonTests
SpotBugsmodule:hadoop-hdfs-project/hadoop-hdfs-client
Exception is caught when Exception is not thrown in org.apache.hadoop.hdfs.web.oauth2.ConfRefreshTokenBasedAccessTokenProvider.refresh() At ConfRefreshTokenBasedAccessTokenProvider.java:is not thrown in org.apache.hadoop.hdfs.web.oauth2.ConfRefreshTokenBasedAccessTokenProvider.refresh() At ConfRefreshTokenBasedAccessTokenProvider.java:[line 145]
Exception is caught when Exception is not thrown in org.apache.hadoop.hdfs.web.oauth2.CredentialBasedAccessTokenProvider.refresh() At CredentialBasedAccessTokenProvider.java:is not thrown in org.apache.hadoop.hdfs.web.oauth2.CredentialBasedAccessTokenProvider.refresh() At CredentialBasedAccessTokenProvider.java:[line 139]
SpotBugsmodule:root
Exception is caught when Exception is not thrown in org.apache.hadoop.hdfs.web.oauth2.ConfRefreshTokenBasedAccessTokenProvider.refresh() At ConfRefreshTokenBasedAccessTokenProvider.java:is not thrown in org.apache.hadoop.hdfs.web.oauth2.ConfRefreshTokenBasedAccessTokenProvider.refresh() At ConfRefreshTokenBasedAccessTokenProvider.java:[line 145]
Exception is caught when Exception is not thrown in org.apache.hadoop.hdfs.web.oauth2.CredentialBasedAccessTokenProvider.refresh() At CredentialBasedAccessTokenProvider.java:is not thrown in org.apache.hadoop.hdfs.web.oauth2.CredentialBasedAccessTokenProvider.refresh() At CredentialBasedAccessTokenProvider.java:[line 139]
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4684/3/artifact/out/Dockerfile
GITHUB PR#4684
Optional Testsdupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient codespell detsecrets xmllint spotbugs checkstyle shellcheck shelldocs
unameLinux 93bb3266aa07 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/bin/hadoop.sh
git revisiontrunk / b5e1ed5
Default JavaPrivate Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
Multi-JDK versions/usr/lib/jvm/java-11-openjdk-amd64:Private Build-11.0.15+10-Ubuntu-0ubuntu0.20.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
Test Resultshttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4684/3/testReport/
Max. process+thread count3137 (vs. ulimit of 5500)
modulesC: hadoop-project hadoop-hdfs-project/hadoop-hdfs-client hadoop-client-modules/hadoop-client . U: .
Console outputhttps://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4684/3/console
versionsgit=2.25.1 maven=3.6.3 spotbugs=4.2.2 shellcheck=0.7.0
Powered byApache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

@steveloughran

Copy link
Copy Markdown
Contributor

esdk-obs-java:3.20.4.2 still depends on okhttp,

at least that would restrict the use to a subset of the code, not hdfs

@pan3793

Copy link
Copy Markdown
MemberAuthor

cc @Yikun, I'm not familiar w/ Huawai OBS, does it make sense and safe to upgrade esdk-obs-java to get rid of okhttp deps?

@iwasakims

Copy link
Copy Markdown
Member

@pan3793
I got following error on building trunk with the patch applied.

$ mvn clean install -DskipTests
...
[WARNING]
Dependency convergence error for org.jetbrains.kotlin:kotlin-stdlib:jar:1.4.0:test paths to dependency are:
+-org.apache.hadoop:hadoop-common:jar:3.4.0-SNAPSHOT
+-com.squareup.okhttp3:mockwebserver:jar:4.9.3:test
+-com.squareup.okhttp3:okhttp:jar:4.9.3:test
+-com.squareup.okio:okio:jar:2.8.0:test
+-org.jetbrains.kotlin:kotlin-stdlib:jar:1.4.0:test
and
+-org.apache.hadoop:hadoop-common:jar:3.4.0-SNAPSHOT
+-com.squareup.okhttp3:mockwebserver:jar:4.9.3:test
+-com.squareup.okhttp3:okhttp:jar:4.9.3:test
+-org.jetbrains.kotlin:kotlin-stdlib:jar:1.4.10:test
and
+-org.apache.hadoop:hadoop-common:jar:3.4.0-SNAPSHOT
+-com.squareup.okhttp3:mockwebserver:jar:4.9.3:test
+-org.jetbrains.kotlin:kotlin-stdlib-jdk8:jar:1.4.10:test
+-org.jetbrains.kotlin:kotlin-stdlib:jar:1.4.10:test
and
+-org.apache.hadoop:hadoop-common:jar:3.4.0-SNAPSHOT
+-com.squareup.okhttp3:mockwebserver:jar:4.9.3:test
+-org.jetbrains.kotlin:kotlin-stdlib-jdk8:jar:1.4.10:test
+-org.jetbrains.kotlin:kotlin-stdlib-jdk7:jar:1.4.10:test
+-org.jetbrains.kotlin:kotlin-stdlib:jar:1.4.10:test
[WARNING] Rule 0: org.apache.maven.plugins.enforcer.DependencyConvergence failed with message:
Failed while enforcing releasability. See above detailed error message.

@pan3793

Copy link
Copy Markdown
MemberAuthor

Completed by HADOOP-18890, except for transitive deps coming from Huawei OBS client.

@pan3793pan3793 closed this Jul 9, 2024
@pan3793
pan3793 deleted the HDFS-16714 branch April 22, 2026 06:04
Sign up for freeto 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.

4 participants

@pan3793@hadoop-yetus@steveloughran@iwasakims