Skip to content

Conversation

viirya
Copy link
Member

@viirya viirya commented Jan 9, 2021

See https://issues.apache.org/jira/browse/HADOOP-17464 for details.

We added lz4-java, snappy-java dependencies to replace native libs (HADOOP-17125, HADOOP-17292). As per the suggestion from the review comments, we better add a hadoop module to include these extra dependencies, to avoid messing up the dependencies of user application.

Moved Lz4, Snappy Codec to hadoop-compression module. Codec test code are moved to hadoop-compression module too.

@viirya
Copy link
Member Author

viirya commented Jan 9, 2021

cc @dbtsai @sunchao @steveloughran

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 2m 9s 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 💚 0m 0s test4tests The patch appears to include 34 new or modified test files.
_ trunk Compile Tests _
+0 🆗 mvndep 14m 11s Maven dependency ordering for branch
+1 💚 mvninstall 25m 52s trunk passed
+1 💚 compile 26m 28s trunk passed with JDK Ubuntu-11.0.9.1+1-Ubuntu-0ubuntu1.18.04
+1 💚 compile 22m 9s trunk passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01
+1 💚 checkstyle 3m 0s trunk passed
+1 💚 mvnsite 7m 4s trunk passed
+1 💚 shadedclient 27m 28s branch has no errors when building and testing our client artifacts.
+1 💚 javadoc 5m 11s trunk passed with JDK Ubuntu-11.0.9.1+1-Ubuntu-0ubuntu1.18.04
+1 💚 javadoc 5m 57s trunk passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01
+0 🆗 spotbugs 7m 22s Used deprecated FindBugs config; considering switching to SpotBugs.
+0 🆗 findbugs 0m 31s branch/hadoop-project no findbugs output file (findbugsXml.xml)
-0 ⚠️ patch 7m 42s Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 22s Maven dependency ordering for patch
+1 💚 mvninstall 6m 8s the patch passed
+1 💚 compile 25m 35s the patch passed with JDK Ubuntu-11.0.9.1+1-Ubuntu-0ubuntu1.18.04
-1 ❌ javac 25m 35s /diff-compile-javac-root-jdkUbuntu-11.0.9.1+1-Ubuntu-0ubuntu1.18.04.txt root-jdkUbuntu-11.0.9.1+1-Ubuntu-0ubuntu1.18.04 with JDK Ubuntu-11.0.9.1+1-Ubuntu-0ubuntu1.18.04 generated 6 new + 2027 unchanged - 5 fixed = 2033 total (was 2032)
+1 💚 compile 19m 31s the patch passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01
-1 ❌ javac 19m 31s /diff-compile-javac-root-jdkPrivateBuild-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01.txt root-jdkPrivateBuild-1.8.0_275-8u275-b01-0ubuntu118.04-b01 with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu118.04-b01 generated 3 new + 1926 unchanged - 3 fixed = 1929 total (was 1929)
-0 ⚠️ checkstyle 2m 53s /diff-checkstyle-root.txt root: The patch generated 5 new + 240 unchanged - 9 fixed = 245 total (was 249)
+1 💚 mvnsite 7m 23s the patch passed
-1 ❌ whitespace 0m 0s /whitespace-eol.txt The patch has 156 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply
-1 ❌ whitespace 0m 0s /whitespace-tabs.txt The patch 2 line(s) with tabs.
+1 💚 xml 0m 8s The patch has no ill-formed XML file.
+1 💚 shadedclient 18m 44s patch has no errors when building and testing our client artifacts.
-1 ❌ javadoc 1m 1s /patch-javadoc-hadoop-common-project_hadoop-common-jdkUbuntu-11.0.9.1+1-Ubuntu-0ubuntu1.18.04.txt hadoop-common in the patch failed with JDK Ubuntu-11.0.9.1+1-Ubuntu-0ubuntu1.18.04.
-1 ❌ javadoc 0m 31s /diff-javadoc-javadoc-hadoop-tools_hadoop-compression-jdkUbuntu-11.0.9.1+1-Ubuntu-0ubuntu1.18.04.txt hadoop-tools_hadoop-compression-jdkUbuntu-11.0.9.1+1-Ubuntu-0ubuntu1.18.04 with JDK Ubuntu-11.0.9.1+1-Ubuntu-0ubuntu1.18.04 generated 12 new + 0 unchanged - 0 fixed = 12 total (was 0)
-1 ❌ javadoc 1m 56s /diff-javadoc-javadoc-hadoop-tools-jdkUbuntu-11.0.9.1+1-Ubuntu-0ubuntu1.18.04.txt hadoop-tools-jdkUbuntu-11.0.9.1+1-Ubuntu-0ubuntu1.18.04 with JDK Ubuntu-11.0.9.1+1-Ubuntu-0ubuntu1.18.04 generated 12 new + 421 unchanged - 0 fixed = 433 total (was 421)
-1 ❌ javadoc 1m 33s /diff-javadoc-javadoc-hadoop-common-project_hadoop-common-jdkPrivateBuild-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01.txt hadoop-common-project_hadoop-common-jdkPrivateBuild-1.8.0_275-8u275-b01-0ubuntu118.04-b01 with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu118.04-b01 generated 6 new + 0 unchanged - 0 fixed = 6 total (was 0)
-1 ❌ javadoc 0m 29s /diff-javadoc-javadoc-hadoop-tools_hadoop-compression-jdkPrivateBuild-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01.txt hadoop-tools_hadoop-compression-jdkPrivateBuild-1.8.0_275-8u275-b01-0ubuntu118.04-b01 with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu118.04-b01 generated 12 new + 0 unchanged - 0 fixed = 12 total (was 0)
-1 ❌ javadoc 1m 37s /diff-javadoc-javadoc-hadoop-tools-jdkPrivateBuild-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01.txt hadoop-tools-jdkPrivateBuild-1.8.0_275-8u275-b01-0ubuntu118.04-b01 with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu118.04-b01 generated 12 new + 596 unchanged - 0 fixed = 608 total (was 596)
+0 🆗 findbugs 0m 25s hadoop-project has no data from findbugs
-1 ❌ findbugs 6m 6s /new-findbugs-hadoop-tools.html hadoop-tools generated 4 new + 0 unchanged - 0 fixed = 4 total (was 0)
_ Other Tests _
+1 💚 unit 0m 26s hadoop-project in the patch passed.
+1 💚 unit 9m 14s hadoop-common in the patch passed.
-1 ❌ unit 2m 23s /patch-unit-hadoop-tools_hadoop-compression.txt hadoop-compression in the patch passed.
-1 ❌ unit 55m 12s /patch-unit-hadoop-tools.txt hadoop-tools in the patch passed.
-1 ❌ unit 123m 14s /patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt hadoop-hdfs in the patch passed.
-1 ❌ unit 11m 24s /patch-unit-hadoop-mapreduce-project_hadoop-mapreduce-client_hadoop-mapreduce-client-nativetask.txt hadoop-mapreduce-client-nativetask in the patch passed.
+1 💚 asflicense 1m 1s The patch does not generate ASF License warnings.
459m 23s
Reason Tests
FindBugs module:hadoop-tools
org.apache.hadoop.io.compress.lz4.Lz4Compressor.setInput(byte[], int, int) may expose internal representation by storing an externally mutable object into Lz4Compressor.userBuf At Lz4Compressor.java:internal representation by storing an externally mutable object into Lz4Compressor.userBuf At Lz4Compressor.java:[line 127]
org.apache.hadoop.io.compress.lz4.Lz4Decompressor.setInput(byte[], int, int) may expose internal representation by storing an externally mutable object into Lz4Decompressor.userBuf At Lz4Decompressor.java:internal representation by storing an externally mutable object into Lz4Decompressor.userBuf At Lz4Decompressor.java:[line 104]
org.apache.hadoop.io.compress.snappy.SnappyCompressor.setInput(byte[], int, int) may expose internal representation by storing an externally mutable object into SnappyCompressor.userBuf At SnappyCompressor.java:internal representation by storing an externally mutable object into SnappyCompressor.userBuf At SnappyCompressor.java:[line 92]
org.apache.hadoop.io.compress.snappy.SnappyDecompressor.setInput(byte[], int, int) may expose internal representation by storing an externally mutable object into SnappyDecompressor.userBuf At SnappyDecompressor.java:internal representation by storing an externally mutable object into SnappyDecompressor.userBuf At SnappyDecompressor.java:[line 92]
Failed junit tests hadoop.io.compress.zstd.TestZStandardCompressorDecompressor
hadoop.io.compress.lz4.TestLz4CompressorDecompressor
hadoop.io.compress.zstd.TestZStandardCompressorDecompressor
hadoop.io.compress.lz4.TestLz4CompressorDecompressor
hadoop.tools.dynamometer.TestDynamometerInfra
hadoop.hdfs.server.datanode.TestDataNodeMXBean
hadoop.hdfs.server.namenode.TestFSImage
hadoop.hdfs.TestDistributedFileSystem
hadoop.hdfs.TestDFSInotifyEventInputStreamKerberized
hadoop.hdfs.qjournal.server.TestJournalNodeRespectsBindHostKeys
hadoop.hdfs.server.namenode.ha.TestStandbyCheckpoints
hadoop.mapred.nativetask.compresstest.CompressTest
Subsystem Report/Notes
Docker ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2611/1/artifact/out/Dockerfile
GITHUB PR #2611
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient xml findbugs checkstyle
uname Linux c98de20a15fa 4.15.0-101-generic #102-Ubuntu SMP Mon May 11 10:07:26 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 890f2da
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-2611/1/testReport/
Max. process+thread count 3144 (vs. ulimit of 5500)
modules C: hadoop-project hadoop-common-project/hadoop-common hadoop-tools/hadoop-compression hadoop-tools hadoop-hdfs-project/hadoop-hdfs hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-nativetask U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2611/1/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.

@steveloughran
Copy link
Contributor

a lot of those tests are failing because code which expects the codecs to be found aren't finding them...you'll need to modify the MR and hadoop-hdfs dependencies to suit.

Some of the tests look unrelated. Can you rebase to trunk to make sure you are up to date with all changes, especially HttpServer2?

I'm going to raise this on hadoop-common to discuss how best to move to this. We may end up having to leave some codecs everyone expects to be in hadoop-common to stay there, while putting all new codecs into hadoop-compression

@viirya viirya force-pushed the compression-module branch from f258421 to aed3837 Compare January 12, 2021 21:25
@viirya
Copy link
Member Author

viirya commented Jan 12, 2021

Hmm, I cannot reproduce the failures including hadoop.io.compress.lz4.TestLz4CompressorDecompressor and hadoop.io.compress.zstd.TestZStandardCompressorDecompressor locally. I rebased to trunk. Let's see how CI tells.

@viirya
Copy link
Member Author

viirya commented Jan 12, 2021

I'm going to raise this on hadoop-common to discuss how best to move to this. We may end up having to leave some codecs everyone expects to be in hadoop-common to stay there, while putting all new codecs into hadoop-compression

Currently I only move lz4 and snappy codes to hadoop-compression which are two codecs we have added the dependencies.

@steveloughran
Copy link
Contributor

steveloughran commented Jan 13, 2021

Currently I only move lz4 and snappy codes to hadoop-compression which are two codecs we have added the dependencies.

that's great -that means all should be good. We just now need to get that build working

@viirya
Copy link
Member Author

viirya commented Jan 13, 2021

About the latest test failure, I cannot reproduce them locally:

hadoop.streaming.TestStreamingBadRecords
hadoop.hdfs.server.namenode.ha.TestPipelinesFailover
hadoop.hdfs.server.blockmanagement.TestUnderReplicatedBlocks

Latest commit should fix these tests:

hadoop.io.compress.zstd.TestZStandardCompressorDecompressor
hadoop.io.compress.lz4.TestLz4CompressorDecompressor

I can reproduce this one, but looks unrelated to the change:

[INFO] Running org.apache.hadoop.tools.dynamometer.TestDynoInfraUtils
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.179 s - in org.apache.hadoop.tools.dynamometer.TestDynoInfraUtils
[INFO] Running org.apache.hadoop.tools.dynamometer.TestDynamometerInfra
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.448 s <<< FAILURE! - in org.apache.hadoop.tools.dynamometer.TestDynamometerInfra
[ERROR] org.apache.hadoop.tools.dynamometer.TestDynamometerInfra  Time elapsed: 0.448 s  <<< ERROR!
java.io.FileNotFoundException: http://mirrors.ocf.berkeley.edu/apache/hadoop/common/hadoop-3.1.3/hadoop-3.1.3.tar.gz
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1896)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1498)
	at org.apache.commons.io.FileUtils.copyURLToFile(FileUtils.java:1506)

@viirya
Copy link
Member Author

viirya commented Jan 15, 2021

Okay, I think I fixed all test failures except this one:

[INFO] Running org.apache.hadoop.tools.dynamometer.TestDynamometerInfra
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.459 s <<< FAILURE! - in org.apache.hadoop.tools.dynamometer.TestDynamometerInfra
[ERROR] org.apache.hadoop.tools.dynamometer.TestDynamometerInfra  Time elapsed: 0.459 s  <<< ERROR!
java.io.FileNotFoundException: http://mirrors.ocf.berkeley.edu/apache/hadoop/common/hadoop-3.1.3/hadoop-3.1.3.tar.gz

It looks not related. I also ran the test against current trunk locally. The test is also failed.

I'm going to fix it by https://issues.apache.org/jira/browse/HADOOP-17472.

@viirya
Copy link
Member Author

viirya commented Jan 20, 2021

Hmm, I guess this is ready for review as hadoop.tools.dynamometer.TestDynamometerInfra is unrelated test failure.

@apache apache deleted a comment from hadoop-yetus Mar 9, 2021
@apache apache deleted a comment from hadoop-yetus Mar 9, 2021
@apache apache deleted a comment from hadoop-yetus Mar 9, 2021
@steveloughran
Copy link
Contributor

OK, so where are we with this patch?

  • new module is there
  • hdfs is happy
  • compression tests are moved over
  • all codecs other than snappy are still in hadoop-common
  • lz4 and snappy are in the new module
  1. Is there anything left to do. Docs?
  2. What do we think will break? Specifically will people be expecting snappy/lz4 to be there?
  3. Could our codec loader be informative here?

@viirya
Copy link
Member Author

viirya commented Mar 9, 2021

What do we think will break? Specifically will people be expecting snappy/lz4 to be there?

I think so. Previously people may include hadoop-common and expect snappy/lz4 codec there. Where should we notify the people? release-note?

Could our codec loader be informative here?

You mean to let codec loader to report what codecs there are?

@sunchao
Copy link
Member

sunchao commented Apr 2, 2021

I think so. Previously people may include hadoop-common and expect snappy/lz4 codec there. Where should we notify the people? release-note?

Perhaps we should create a page for compression codecs, under "Tools" category of https://hadoop.apache.org/docs/current/index.html. This can be done separately though after this is merged. We also need release notes I assume.

You mean to let codec loader to report what codecs there are?

I think maybe some informative error message that users should have hadoop-compression jar in their classpath or project dependencies, when the class loader fail to find the codec class.

@steveloughran do you still think this is a worthwhile thing to do? and I assume this targets Hadoop 3.4.x, not 3.3.x, is that correct?

@sunchao
Copy link
Member

sunchao commented Apr 6, 2021

Another thing is as @iwasakims mentioned in the common-dev email thread, we may want to make this as a compile dependency of hadoop-common for now, since it is a breaking change and the new module doesn't cover all codecs for now.
We can remove it later before the next major release (e.g., 4.0.0).

@viirya
Copy link
Member Author

viirya commented Apr 6, 2021

Hmm, seems we cannot do that. hadoop-compression depends on hadoop-common, so we cannot make hadoop-common depends on hadoop-compression.

@sunchao
Copy link
Member

sunchao commented Apr 6, 2021

@viirya yeah you're right. Personally I feel it should be fine as long as we have good documentation and error messages like mentioned above, but would like to hear inputs from @steveloughran and @iwasakims .

Just to clarify: in the long term we do still plan to keep the main classes such as CompressionCodecFactory inside hadoop-common module? the hadoop-compression will just contain extra jars for codecs that are not native?

@viirya
Copy link
Member Author

viirya commented Sep 19, 2021

Just to clarify: in the long term we do still plan to keep the main classes such as CompressionCodecFactory inside hadoop-common module? the hadoop-compression will just contain extra jars for codecs that are not native?

Except that we plan to move all compression stuffs to hadoop-compression in the future, otherwise those basic compression related abstractions are still needed in hadoop-common. It looks weird if we have CompressionCodecFactory in hadoop-compression, but other classes/interfaces such as Compressor, Decompressor are still in hadoop-common.

Different than the extra codecs, for these abstractions, I think the ideal approach is all or not when considering moving into hadoop-compression.

@viirya
Copy link
Member Author

viirya commented Sep 19, 2021

@steveloughran do you still think this is a worthwhile thing to do? and I assume this targets Hadoop 3.4.x, not 3.3.x, is that correct?

As this is staying open for a while, and no more new comments. @steveloughran could we have some guidance about this module? Thank you.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 12m 33s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 2s 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 42 new or modified test files.
_ trunk Compile Tests _
+0 🆗 mvndep 13m 18s Maven dependency ordering for branch
+1 💚 mvninstall 21m 17s trunk passed
+1 💚 compile 21m 15s trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04
+1 💚 compile 18m 26s trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
+1 💚 checkstyle 3m 40s trunk passed
+1 💚 mvnsite 7m 10s trunk passed
+1 💚 javadoc 5m 39s trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04
+1 💚 javadoc 6m 28s trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
+0 🆗 spotbugs 0m 41s branch/hadoop-project no spotbugs output file (spotbugsXml.xml)
+1 💚 shadedclient 24m 16s branch has no errors when building and testing our client artifacts.
-0 ⚠️ patch 24m 41s Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 20s Maven dependency ordering for patch
+1 💚 mvninstall 5m 42s the patch passed
+1 💚 compile 20m 40s the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04
-1 ❌ javac 20m 40s /results-compile-javac-root-jdkUbuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.txt root-jdkUbuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 generated 5 new + 1912 unchanged - 4 fixed = 1917 total (was 1916)
+1 💚 compile 18m 33s the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
-1 ❌ javac 18m 33s /results-compile-javac-root-jdkPrivateBuild-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.txt root-jdkPrivateBuild-1.8.0_292-8u292-b10-0ubuntu120.04-b10 with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu120.04-b10 generated 3 new + 1790 unchanged - 3 fixed = 1793 total (was 1793)
-1 ❌ blanks 0m 0s /blanks-eol.txt The patch has 156 line(s) that end in blanks. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply
-1 ❌ blanks 0m 0s /blanks-tabs.txt The patch 2 line(s) with tabs.
-0 ⚠️ checkstyle 3m 37s /results-checkstyle-root.txt root: The patch generated 3 new + 183 unchanged - 5 fixed = 186 total (was 188)
+1 💚 mvnsite 8m 3s the patch passed
+1 💚 shellcheck 0m 0s No new issues.
+1 💚 xml 0m 8s The patch has no ill-formed XML file.
-1 ❌ javadoc 1m 7s /patch-javadoc-hadoop-common-project_hadoop-common-jdkUbuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.txt hadoop-common in the patch failed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.
-1 ❌ javadoc 0m 40s /results-javadoc-javadoc-hadoop-tools_hadoop-compression-jdkUbuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.txt hadoop-tools_hadoop-compression-jdkUbuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 generated 12 new + 0 unchanged - 0 fixed = 12 total (was 0)
-1 ❌ javadoc 2m 6s /results-javadoc-javadoc-hadoop-tools-jdkUbuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.txt hadoop-tools-jdkUbuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 generated 12 new + 420 unchanged - 0 fixed = 432 total (was 420)
-1 ❌ javadoc 1m 43s /results-javadoc-javadoc-hadoop-common-project_hadoop-common-jdkPrivateBuild-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.txt hadoop-common-project_hadoop-common-jdkPrivateBuild-1.8.0_292-8u292-b10-0ubuntu120.04-b10 with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu120.04-b10 generated 6 new + 0 unchanged - 0 fixed = 6 total (was 0)
-1 ❌ javadoc 0m 39s /results-javadoc-javadoc-hadoop-tools_hadoop-compression-jdkPrivateBuild-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.txt hadoop-tools_hadoop-compression-jdkPrivateBuild-1.8.0_292-8u292-b10-0ubuntu120.04-b10 with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu120.04-b10 generated 12 new + 0 unchanged - 0 fixed = 12 total (was 0)
-1 ❌ javadoc 1m 49s /results-javadoc-javadoc-hadoop-tools-jdkPrivateBuild-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.txt hadoop-tools-jdkPrivateBuild-1.8.0_292-8u292-b10-0ubuntu120.04-b10 with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu120.04-b10 generated 12 new + 570 unchanged - 0 fixed = 582 total (was 570)
+0 🆗 spotbugs 0m 37s hadoop-project has no data from spotbugs
-1 ❌ spotbugs 6m 8s /new-spotbugs-hadoop-tools.html hadoop-tools generated 4 new + 0 unchanged - 0 fixed = 4 total (was 0)
-1 ❌ shadedclient 19m 51s patch has errors when building and testing our client artifacts.
_ Other Tests _
+1 💚 unit 0m 37s hadoop-project in the patch passed.
+1 💚 unit 17m 0s hadoop-common in the patch passed.
+1 💚 unit 2m 17s hadoop-compression in the patch passed.
-1 ❌ unit 70m 24s /patch-unit-hadoop-tools.txt hadoop-tools in the patch passed.
+1 💚 unit 235m 48s hadoop-hdfs in the patch passed.
+1 💚 unit 11m 4s hadoop-mapreduce-client-nativetask in the patch passed.
+1 💚 asflicense 1m 16s The patch does not generate ASF License warnings.
590m 58s
Reason Tests
SpotBugs module:hadoop-tools
org.apache.hadoop.io.compress.lz4.Lz4Compressor.setInput(byte[], int, int) may expose internal representation by storing an externally mutable object into Lz4Compressor.userBuf At Lz4Compressor.java:internal representation by storing an externally mutable object into Lz4Compressor.userBuf At Lz4Compressor.java:[line 127]
org.apache.hadoop.io.compress.lz4.Lz4Decompressor.setInput(byte[], int, int) may expose internal representation by storing an externally mutable object into Lz4Decompressor.userBuf At Lz4Decompressor.java:internal representation by storing an externally mutable object into Lz4Decompressor.userBuf At Lz4Decompressor.java:[line 104]
org.apache.hadoop.io.compress.snappy.SnappyCompressor.setInput(byte[], int, int) may expose internal representation by storing an externally mutable object into SnappyCompressor.userBuf At SnappyCompressor.java:internal representation by storing an externally mutable object into SnappyCompressor.userBuf At SnappyCompressor.java:[line 92]
org.apache.hadoop.io.compress.snappy.SnappyDecompressor.setInput(byte[], int, int) may expose internal representation by storing an externally mutable object into SnappyDecompressor.userBuf At SnappyDecompressor.java:internal representation by storing an externally mutable object into SnappyDecompressor.userBuf At SnappyDecompressor.java:[line 92]
Failed junit tests hadoop.tools.dynamometer.TestDynamometerInfra
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2611/6/artifact/out/Dockerfile
GITHUB PR #2611
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient codespell xml spotbugs checkstyle shellcheck shelldocs
uname Linux 71112d1d22ae 4.15.0-156-generic #163-Ubuntu SMP Thu Aug 19 23:31:58 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 2a38800
Default Java Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2611/6/testReport/
Max. process+thread count 3215 (vs. ulimit of 5500)
modules C: hadoop-project hadoop-common-project/hadoop-common hadoop-tools/hadoop-compression hadoop-tools hadoop-hdfs-project/hadoop-hdfs hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-nativetask U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2611/6/console
versions git=2.25.1 maven=3.6.3 shellcheck=0.7.0 spotbugs=4.2.2
Powered by Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

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

Successfully merging this pull request may close these issues.

4 participants