Skip to content

TEZ-4305: Invoke hflush, only if the stream supports it - #120

Merged
abstractdog merged 1 commit into
apache:masterfrom
kishendas:TEZ-4305
May 20, 2021
Merged

TEZ-4305: Invoke hflush, only if the stream supports it#120
abstractdog merged 1 commit into
apache:masterfrom
kishendas:TEZ-4305

Conversation

@kishendas

Copy link
Copy Markdown
Contributor

Following exception is thrown whenever we do ProtoMessageWriter.hflush on S3, which internally calls S3ABlockOutputStream.hflush which is not supported and it throws java.lang.UnsupportedOperationException.

bdffe22d96ae [mdc@18060 class="yarn.YarnUncaughtExceptionHandler" level="ERROR" thread="HistoryEventHandlingThread"] Thread Thread[HistoryEventHandlingThread, 5,main] threw an Exception.^Mjava.lang.UnsupportedOperationException: S3A streams are not Syncable^M at org.apache.hadoop.fs.s3a.S3ABlockOutputStream.hflush(S3ABlockOutputStream.java:657)^M at org.apache.hadoop.fs.FS DataOutputStream.hflush(FSDataOutputStream.java:136)^M at org.apache.hadoop.io.SequenceFile$Writer.hflush(SequenceFile.java:1367)^M at org.apache.tez.dag.history.logging.proto.ProtoMessageWriter.hflush(ProtoMessageWr iter.java:64)^M at org.apache.tez.dag.history.logging.proto.ProtoHistoryLoggingService.finishCurrentDag(ProtoHistoryLoggingService.java:239)^M at org.apache.tez.dag.history.logging.proto.ProtoHistoryLoggingService.han dleEvent(ProtoHistoryLoggingService.java:198)^M at org.apache.tez.dag.history.logging.proto.ProtoHistoryLoggingService.loop(ProtoHistoryLoggingService.java:153)^M at java.lang.Thread.run(Thread.java:748)^M

In order to fix this issue, we should first check if the method is supported or not using StreamCapabilities, before invoking it.

@kishendas

Copy link
Copy Markdown
ContributorAuthor

This PR has dependency with apache/hadoop#2949 . Will change the pom.xml to reflect the latest Hadoop version, whenever apache/hadoop#2949 lands.

@hadoop-yetus

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec12m 47sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+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.
_ master Compile Tests _
+1 💚mvninstall13m 2smaster passed
+1 💚compile0m 30smaster passed with JDK Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04
+1 💚compile0m 29smaster passed with JDK Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08
+1 💚checkstyle1m 4smaster passed
+1 💚javadoc0m 37smaster passed with JDK Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04
+1 💚javadoc0m 26smaster passed with JDK Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08
+0 🆗spotbugs1m 8sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs1m 7smaster passed
_ Patch Compile Tests _
-1 ❌mvninstall0m 13stez-protobuf-history-plugin in the patch failed.
-1 ❌compile0m 14stez-protobuf-history-plugin in the patch failed with JDK Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04.
-1 ❌javac0m 14stez-protobuf-history-plugin in the patch failed with JDK Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04.
-1 ❌compile0m 14stez-protobuf-history-plugin in the patch failed with JDK Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08.
-1 ❌javac0m 14stez-protobuf-history-plugin in the patch failed with JDK Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08.
+1 💚checkstyle0m 9sthe patch passed
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚javadoc0m 13sthe patch passed with JDK Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04
+1 💚javadoc0m 13sthe patch passed with JDK Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08
-1 ❌findbugs0m 14stez-protobuf-history-plugin in the patch failed.
_ Other Tests _
-1 ❌unit0m 14stez-protobuf-history-plugin in the patch failed.
+1 💚asflicense0m 14sThe patch does not generate ASF License warnings.
32m 46s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/1/artifact/out/Dockerfile
GITHUB PR#120
JIRA IssueTEZ-4305
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs checkstyle compile
unameLinux fa39febd9696 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
Personalitypersonality/tez.sh
git revisionmaster / 0184781
Default JavaPrivate Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08
Multi-JDK versions/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08
mvninstallhttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/1/artifact/out/patch-mvninstall-tez-plugins_tez-protobuf-history-plugin.txt
compilehttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/1/artifact/out/patch-compile-tez-plugins_tez-protobuf-history-plugin-jdkUbuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04.txt
javachttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/1/artifact/out/patch-compile-tez-plugins_tez-protobuf-history-plugin-jdkUbuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04.txt
compilehttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/1/artifact/out/patch-compile-tez-plugins_tez-protobuf-history-plugin-jdkPrivateBuild-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08.txt
javachttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/1/artifact/out/patch-compile-tez-plugins_tez-protobuf-history-plugin-jdkPrivateBuild-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08.txt
findbugshttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/1/artifact/out/patch-findbugs-tez-plugins_tez-protobuf-history-plugin.txt
unithttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/1/artifact/out/patch-unit-tez-plugins_tez-protobuf-history-plugin.txt
Test Resultshttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/1/testReport/
Max. process+thread count96 (vs. ulimit of 5500)
modulesC: tez-plugins/tez-protobuf-history-plugin U: tez-plugins/tez-protobuf-history-plugin
Console outputhttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/1/console
versionsgit=2.25.1 maven=3.6.3 findbugs=3.0.1
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@jteagles

Copy link
Copy Markdown
Contributor

@kishendas, we will have to rethink this change to not break users who wish to run against other versions of Hadoop. @abstractdog, we may need to consider separate branch for Hadoop 3.3. There are several API changes and dependencies that are making supporting all of Hadoop 3.x difficult

@hadoop-yetus

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec12m 57sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+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.
_ master Compile Tests _
+0 🆗mvndep5m 3sMaven dependency ordering for branch
+1 💚mvninstall8m 28smaster passed
+1 💚compile2m 32smaster passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04
+1 💚compile2m 25smaster passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
+1 💚checkstyle1m 28smaster passed
+1 💚javadoc2m 30smaster passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04
+1 💚javadoc2m 1smaster passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
+0 🆗spotbugs7m 17sUsed deprecated FindBugs config; considering switching to SpotBugs.
+0 🆗findbugs7m 12sroot in master has 2 extant findbugs warnings.
_ Patch Compile Tests _
+0 🆗mvndep1m 56sMaven dependency ordering for patch
-1 ❌mvninstall5m 38sroot in the patch failed.
-1 ❌compile2m 51sroot in the patch failed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.
-1 ❌javac2m 51sroot in the patch failed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.
-1 ❌compile2m 29sroot in the patch failed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.
-1 ❌javac2m 29sroot in the patch failed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.
+1 💚checkstyle1m 25sthe patch passed
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚xml0m 2sThe patch has no ill-formed XML file.
+1 💚javadoc3m 1sthe patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04
+1 💚javadoc2m 23sthe patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
-1 ❌findbugs6m 50sroot in the patch failed.
_ Other Tests _
+1 💚unit0m 45stez-protobuf-history-plugin in the patch passed.
-1 ❌unit4m 48sroot in the patch failed.
+1 💚asflicense0m 49sThe patch does not generate ASF License warnings.
82m 48s
ReasonTests
Failed junit teststez.dag.api.client.rpc.TestDAGClient
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/2/artifact/out/Dockerfile
GITHUB PR#120
JIRA IssueTEZ-4305
Optional Testsdupname asflicense javac javadoc unit xml compile spotbugs findbugs checkstyle
unameLinux 4bc6b059830c 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
Personalitypersonality/tez.sh
git revisionmaster / 0184781
Default JavaPrivate 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
mvninstallhttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/2/artifact/out/patch-mvninstall-root.txt
compilehttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/2/artifact/out/patch-compile-root-jdkUbuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.txt
javachttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/2/artifact/out/patch-compile-root-jdkUbuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.txt
compilehttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/2/artifact/out/patch-compile-root-jdkPrivateBuild-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.txt
javachttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/2/artifact/out/patch-compile-root-jdkPrivateBuild-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.txt
findbugshttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/2/artifact/out/patch-findbugs-root.txt
unithttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/2/artifact/out/patch-unit-root.txt
Test Resultshttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/2/testReport/
Max. process+thread count404 (vs. ulimit of 5500)
modulesC: tez-plugins/tez-protobuf-history-plugin . U: .
Console outputhttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/2/console
versionsgit=2.25.1 maven=3.6.3 findbugs=3.0.1
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@kishendas

Copy link
Copy Markdown
ContributorAuthor

@kishendas, we will have to rethink this change to not break users who wish to run against other versions of Hadoop. @abstractdog, we may need to consider separate branch for Hadoop 3.3. There are several API changes and dependencies that are making supporting all of Hadoop 3.x difficult

Please check now. It should now work with older versions of Hadoop as well.

@hadoop-yetus

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 38sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+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.
_ master Compile Tests _
+0 🆗mvndep5m 9sMaven dependency ordering for branch
+1 💚mvninstall8m 5smaster passed
+1 💚compile2m 34smaster passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04
+1 💚compile2m 25smaster passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
+1 💚checkstyle1m 35smaster passed
+1 💚javadoc2m 33smaster passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04
+1 💚javadoc2m 2smaster passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
+0 🆗spotbugs5m 34sUsed deprecated FindBugs config; considering switching to SpotBugs.
+0 🆗findbugs5m 29sroot in master has 2 extant findbugs warnings.
_ Patch Compile Tests _
+0 🆗mvndep1m 51sMaven dependency ordering for patch
-1 ❌mvninstall4m 3sroot in the patch failed.
-1 ❌compile2m 9sroot in the patch failed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.
-1 ❌javac2m 9sroot in the patch failed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.
-1 ❌compile1m 56sroot in the patch failed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.
-1 ❌javac1m 56sroot in the patch failed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.
+1 💚checkstyle1m 13sthe patch passed
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚xml0m 1sThe patch has no ill-formed XML file.
+1 💚javadoc2m 30sthe patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04
+1 💚javadoc2m 9sthe patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
-1 ❌findbugs0m 52stez-plugins/tez-protobuf-history-plugin generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
-1 ❌findbugs5m 2sroot in the patch failed.
_ Other Tests _
+1 💚unit0m 45stez-protobuf-history-plugin in the patch passed.
-1 ❌unit3m 47sroot in the patch failed.
+1 💚asflicense0m 55sThe patch does not generate ASF License warnings.
61m 53s
ReasonTests
FindBugsmodule:tez-plugins/tez-protobuf-history-plugin
instanceof will always return true for all non-null values in org.apache.tez.dag.history.logging.proto.ProtoMessageWriter.hflush(), since all org.apache.hadoop.io.SequenceFile$Writer are instances of org.apache.hadoop.fs.StreamCapabilities At ProtoMessageWriter.java:for all non-null values in org.apache.tez.dag.history.logging.proto.ProtoMessageWriter.hflush(), since all org.apache.hadoop.io.SequenceFile$Writer are instances of org.apache.hadoop.fs.StreamCapabilities At ProtoMessageWriter.java:[line 65]
Failed junit teststez.dag.api.client.rpc.TestDAGClient
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/3/artifact/out/Dockerfile
GITHUB PR#120
JIRA IssueTEZ-4305
Optional Testsdupname asflicense javac javadoc unit xml compile spotbugs findbugs checkstyle
unameLinux 97d8c24e3c9d 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
Personalitypersonality/tez.sh
git revisionmaster / 0184781
Default JavaPrivate 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
mvninstallhttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/3/artifact/out/patch-mvninstall-root.txt
compilehttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/3/artifact/out/patch-compile-root-jdkUbuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.txt
javachttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/3/artifact/out/patch-compile-root-jdkUbuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.txt
compilehttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/3/artifact/out/patch-compile-root-jdkPrivateBuild-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.txt
javachttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/3/artifact/out/patch-compile-root-jdkPrivateBuild-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.txt
findbugshttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/3/artifact/out/new-findbugs-tez-plugins_tez-protobuf-history-plugin.html
findbugshttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/3/artifact/out/patch-findbugs-root.txt
unithttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/3/artifact/out/patch-unit-root.txt
Test Resultshttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/3/testReport/
Max. process+thread count444 (vs. ulimit of 5500)
modulesC: tez-plugins/tez-protobuf-history-plugin . U: .
Console outputhttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/3/console
versionsgit=2.25.1 maven=3.6.3 findbugs=3.0.1
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@kishendas

Copy link
Copy Markdown
ContributorAuthor

Created a ticket for the unit test failure, as it seems to be unrelated -> https://issues.apache.org/jira/browse/TEZ-4306 .

@hadoop-yetus

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 12sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+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.
_ master Compile Tests _
+0 🆗mvndep5m 14sMaven dependency ordering for branch
+1 💚mvninstall8m 30smaster passed
+1 💚compile4m 6smaster passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04
+1 💚compile3m 45smaster passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
+1 💚checkstyle2m 34smaster passed
+1 💚javadoc3m 45smaster passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04
+1 💚javadoc3m 9smaster passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
+0 🆗spotbugs6m 15sUsed deprecated FindBugs config; considering switching to SpotBugs.
+0 🆗findbugs6m 10sroot in master has 2 extant findbugs warnings.
_ Patch Compile Tests _
+0 🆗mvndep0m 15sMaven dependency ordering for patch
+1 💚mvninstall4m 51sthe patch passed
+1 💚compile3m 59sthe patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04
+1 💚javac3m 59sthe patch passed
+1 💚compile3m 41sthe patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
+1 💚javac3m 41sthe patch passed
-0 ⚠️checkstyle0m 25stez-common: The patch generated 10 new + 0 unchanged - 0 fixed = 10 total (was 0)
-0 ⚠️checkstyle0m 25stez-plugins/tez-protobuf-history-plugin: The patch generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
-0 ⚠️checkstyle0m 49sroot: The patch generated 11 new + 1 unchanged - 0 fixed = 12 total (was 1)
-1 ❌whitespace0m 0sThe patch has 1 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply
+1 💚xml0m 2sThe patch has no ill-formed XML file.
+1 💚javadoc3m 54sthe patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04
+1 💚javadoc3m 21sthe patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
+1 💚findbugs9m 43sthe patch passed
_ Other Tests _
+1 💚unit0m 48stez-common in the patch passed.
+1 💚unit4m 32stez-dag in the patch passed.
+1 💚unit0m 39stez-protobuf-history-plugin in the patch passed.
+1 💚unit74m 25sroot in the patch passed.
+1 💚asflicense1m 46sThe patch does not generate ASF License warnings.
157m 55s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/5/artifact/out/Dockerfile
GITHUB PR#120
JIRA IssueTEZ-4305
Optional Testsdupname asflicense javac javadoc unit xml compile spotbugs findbugs checkstyle
unameLinux cc82bf444fb3 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 toolmaven
Personalitypersonality/tez.sh
git revisionmaster / 0184781
Default JavaPrivate 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
checkstylehttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/5/artifact/out/diff-checkstyle-tez-common.txt
checkstylehttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/5/artifact/out/diff-checkstyle-tez-plugins_tez-protobuf-history-plugin.txt
checkstylehttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/5/artifact/out/diff-checkstyle-root.txt
whitespacehttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/5/artifact/out/whitespace-eol.txt
Test Resultshttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/5/testReport/
Max. process+thread count1409 (vs. ulimit of 5500)
modulesC: tez-common tez-dag tez-plugins/tez-protobuf-history-plugin . U: .
Console outputhttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/5/console
versionsgit=2.25.1 maven=3.6.3 findbugs=3.0.1
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@hadoop-yetus

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec12m 55sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+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.
_ master Compile Tests _
+0 🆗mvndep5m 19sMaven dependency ordering for branch
+1 💚mvninstall8m 31smaster passed
+1 💚compile4m 6smaster passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04
+1 💚compile3m 47smaster passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
+1 💚checkstyle2m 35smaster passed
+1 💚javadoc3m 52smaster passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04
+1 💚javadoc3m 3smaster passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
+0 🆗spotbugs6m 16sUsed deprecated FindBugs config; considering switching to SpotBugs.
+0 🆗findbugs6m 11sroot in master has 2 extant findbugs warnings.
_ Patch Compile Tests _
+0 🆗mvndep0m 15sMaven dependency ordering for patch
+1 💚mvninstall4m 50sthe patch passed
+1 💚compile3m 58sthe patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04
+1 💚javac3m 58sthe patch passed
+1 💚compile3m 39sthe patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
+1 💚javac3m 39sthe patch passed
-0 ⚠️checkstyle0m 25stez-common: The patch generated 10 new + 0 unchanged - 0 fixed = 10 total (was 0)
-0 ⚠️checkstyle0m 26stez-plugins/tez-protobuf-history-plugin: The patch generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
-0 ⚠️checkstyle0m 49sroot: The patch generated 11 new + 1 unchanged - 0 fixed = 12 total (was 1)
-1 ❌whitespace0m 0sThe patch has 1 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply
+1 💚xml0m 1sThe patch has no ill-formed XML file.
+1 💚javadoc3m 52sthe patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04
+1 💚javadoc3m 20sthe patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
+1 💚findbugs9m 41sthe patch passed
_ Other Tests _
+1 💚unit0m 48stez-common in the patch passed.
+1 💚unit4m 32stez-dag in the patch passed.
+1 💚unit0m 40stez-protobuf-history-plugin in the patch passed.
+1 💚unit76m 3sroot in the patch passed.
+1 💚asflicense1m 56sThe patch does not generate ASF License warnings.
171m 33s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/4/artifact/out/Dockerfile
GITHUB PR#120
JIRA IssueTEZ-4305
Optional Testsdupname asflicense javac javadoc unit xml compile spotbugs findbugs checkstyle
unameLinux 2d01e63a2bd9 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 toolmaven
Personalitypersonality/tez.sh
git revisionmaster / 0184781
Default JavaPrivate 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
checkstylehttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/4/artifact/out/diff-checkstyle-tez-common.txt
checkstylehttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/4/artifact/out/diff-checkstyle-tez-plugins_tez-protobuf-history-plugin.txt
checkstylehttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/4/artifact/out/diff-checkstyle-root.txt
whitespacehttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/4/artifact/out/whitespace-eol.txt
Test Resultshttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/4/testReport/
Max. process+thread count1446 (vs. ulimit of 5500)
modulesC: tez-common tez-dag tez-plugins/tez-protobuf-history-plugin . U: .
Console outputhttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/4/console
versionsgit=2.25.1 maven=3.6.3 findbugs=3.0.1
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@abstractdog

abstractdog commented May 15, 2021

Copy link
Copy Markdown
Contributor

LGTM +1, just two minor asks:

  1. could you please squash the commits for easier later reference?
  2. please address checkstyle/whitespace warnings:
    https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/4/artifact/out/whitespace-eol.txt
    https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/4/artifact/out/diff-checkstyle-root.txt

created TEZ-4307 about Hadoop 3.4.0 to track the fact that this cannot be pushed until we're not upgraded to Hadoop 3.4.0

@kishendas

Copy link
Copy Markdown
ContributorAuthor

@abstractdog Please take a look. We can land this change without waiting for Hadoop 3.4.0 upgrade, as this change will work with both Hadoop 3.4.0 and previous versions. It's just that behavior will be different based on the Hadoop version we use with Tez.

@hadoop-yetus

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 32sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+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.
_ master Compile Tests _
+0 🆗mvndep4m 30sMaven dependency ordering for branch
+1 💚mvninstall8m 29smaster passed
+1 💚compile1m 38smaster passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04
+1 💚compile1m 28smaster passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
+1 💚checkstyle1m 41smaster passed
+1 💚javadoc1m 40smaster passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04
+1 💚javadoc1m 27smaster passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
+0 🆗spotbugs0m 41sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs2m 53smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 9sMaven dependency ordering for patch
+1 💚mvninstall0m 53sthe patch passed
+1 💚compile0m 57sthe patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04
+1 💚javac0m 57sthe patch passed
+1 💚compile0m 50sthe patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
+1 💚javac0m 50sthe patch passed
-0 ⚠️checkstyle0m 9stez-common: The patch generated 10 new + 0 unchanged - 0 fixed = 10 total (was 0)
-0 ⚠️checkstyle0m 8stez-plugins/tez-protobuf-history-plugin: The patch generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚javadoc0m 47sthe patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04
+1 💚javadoc0m 45sthe patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
+1 💚findbugs2m 12sthe patch passed
_ Other Tests _
+1 💚unit0m 30stez-common in the patch passed.
+1 💚unit4m 17stez-dag in the patch passed.
+1 💚unit0m 21stez-protobuf-history-plugin in the patch passed.
+1 💚asflicense0m 29sThe patch does not generate ASF License warnings.
38m 28s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/6/artifact/out/Dockerfile
GITHUB PR#120
JIRA IssueTEZ-4305
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs checkstyle compile
unameLinux 24744d7bff6d 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
Personalitypersonality/tez.sh
git revisionmaster / 0184781
Default JavaPrivate 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
checkstylehttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/6/artifact/out/diff-checkstyle-tez-common.txt
checkstylehttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/6/artifact/out/diff-checkstyle-tez-plugins_tez-protobuf-history-plugin.txt
Test Resultshttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/6/testReport/
Max. process+thread count235 (vs. ulimit of 5500)
modulesC: tez-common tez-dag tez-plugins/tez-protobuf-history-plugin U: .
Console outputhttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/6/console
versionsgit=2.25.1 maven=3.6.3 findbugs=3.0.1
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@abstractdog

Copy link
Copy Markdown
Contributor

@abstractdog Please take a look. We can land this change without waiting for Hadoop 3.4.0 upgrade, as this change will work with both Hadoop 3.4.0 and previous versions. It's just that behavior will be different based on the Hadoop version we use with Tez.

I agree, the latest version is even better because StreamCapabilites is already present in older Hadoop versions
once tez will depend on a hadoop version where HADOOP-17657 present (so writer implements StreamCapabilities), it will behave accordingly

nit: I was wondering if we can place a DEBUG message if hflush is skipped because it's not supported
this codepath is only called from finishCurrentDag, so once per dag, it won't spam the logs...

other than this nit, the patch looks good to me
cc: @harishjp if you have any comments

@harishjp

Copy link
Copy Markdown
Contributor

nit: I was wondering if we can place a DEBUG message if hflush is skipped because it's not supported
this codepath is only called from finishCurrentDag, so once per dag, it won't spam the logs...

other than this nit, the patch looks good to me
cc: @harishjp if you have any comments

This is fine in tez, we use the same code in hive (It has to be copied to hive). And there we write one event per file on s3 since s3 does not support reading a file in which data is still being written. It will write 2 log lines per query there.

@kishendas

Copy link
Copy Markdown
ContributorAuthor

@abstractdog I have added the log message. Please commit the PR, if you don't have any other feedback.

@hadoop-yetus

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 32sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+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.
_ master Compile Tests _
+0 🆗mvndep4m 20sMaven dependency ordering for branch
+1 💚mvninstall8m 38smaster passed
+1 💚compile1m 39smaster passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04
+1 💚compile1m 31smaster passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
+1 💚checkstyle1m 41smaster passed
+1 💚javadoc1m 39smaster passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04
+1 💚javadoc1m 26smaster passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
+0 🆗spotbugs0m 43sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs2m 52smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 9sMaven dependency ordering for patch
+1 💚mvninstall0m 52sthe patch passed
+1 💚compile0m 56sthe patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04
+1 💚javac0m 56sthe patch passed
+1 💚compile0m 51sthe patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
+1 💚javac0m 51sthe patch passed
-0 ⚠️checkstyle0m 8stez-common: The patch generated 12 new + 0 unchanged - 0 fixed = 12 total (was 0)
-0 ⚠️checkstyle0m 9stez-plugins/tez-protobuf-history-plugin: The patch generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚javadoc0m 47sthe patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04
+1 💚javadoc0m 44sthe patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
+1 💚findbugs2m 13sthe patch passed
_ Other Tests _
+1 💚unit0m 31stez-common in the patch passed.
+1 💚unit4m 15stez-dag in the patch passed.
+1 💚unit0m 22stez-protobuf-history-plugin in the patch passed.
+1 💚asflicense0m 30sThe patch does not generate ASF License warnings.
38m 28s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/7/artifact/out/Dockerfile
GITHUB PR#120
JIRA IssueTEZ-4305
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs checkstyle compile
unameLinux ad740569d412 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
Personalitypersonality/tez.sh
git revisionmaster / 0184781
Default JavaPrivate 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
checkstylehttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/7/artifact/out/diff-checkstyle-tez-common.txt
checkstylehttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/7/artifact/out/diff-checkstyle-tez-plugins_tez-protobuf-history-plugin.txt
Test Resultshttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/7/testReport/
Max. process+thread count207 (vs. ulimit of 5500)
modulesC: tez-common tez-dag tez-plugins/tez-protobuf-history-plugin U: .
Console outputhttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/7/console
versionsgit=2.25.1 maven=3.6.3 findbugs=3.0.1
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@abstractdog

Copy link
Copy Markdown
Contributor

@abstractdog I have added the log message. Please commit the PR, if you don't have any other feedback.

I think the log message should go into an else branch...currently, it's logged every time when StreamCapabilities interface is implemented

@kishendas
kishendasforce-pushed the TEZ-4305 branch 2 times, most recently from 996235e to b388611CompareMay 18, 2021 06:57
@kishendas

Copy link
Copy Markdown
ContributorAuthor

@abstractdog My bad. Got tricked by my own comment. Fixed it. Good catch.

@hadoop-yetus

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 31sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+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.
_ master Compile Tests _
+0 🆗mvndep4m 26sMaven dependency ordering for branch
+1 💚mvninstall8m 44smaster passed
+1 💚compile1m 38smaster passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04
+1 💚compile1m 28smaster passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
+1 💚checkstyle1m 41smaster passed
+1 💚javadoc1m 36smaster passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04
+1 💚javadoc1m 17smaster passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
+0 🆗spotbugs0m 44sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs3m 3smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 8sMaven dependency ordering for patch
+1 💚mvninstall0m 55sthe patch passed
+1 💚compile1m 3sthe patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04
+1 💚javac1m 3sthe patch passed
+1 💚compile0m 53sthe patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
+1 💚javac0m 53sthe patch passed
-0 ⚠️checkstyle0m 9stez-common: The patch generated 13 new + 0 unchanged - 0 fixed = 13 total (was 0)
-0 ⚠️checkstyle0m 8stez-plugins/tez-protobuf-history-plugin: The patch generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚javadoc0m 49sthe patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04
+1 💚javadoc0m 46sthe patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
+1 💚findbugs2m 28sthe patch passed
_ Other Tests _
+1 💚unit0m 32stez-common in the patch passed.
-1 ❌unit4m 16stez-dag in the patch failed.
+1 💚unit0m 22stez-protobuf-history-plugin in the patch passed.
+1 💚asflicense0m 30sThe patch does not generate ASF License warnings.
39m 11s
ReasonTests
Failed junit teststez.dag.app.rm.TestTaskScheduler
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/8/artifact/out/Dockerfile
GITHUB PR#120
JIRA IssueTEZ-4305
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs checkstyle compile
unameLinux bd7a09ede325 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
Personalitypersonality/tez.sh
git revisionmaster / 0184781
Default JavaPrivate 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
checkstylehttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/8/artifact/out/diff-checkstyle-tez-common.txt
checkstylehttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/8/artifact/out/diff-checkstyle-tez-plugins_tez-protobuf-history-plugin.txt
unithttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/8/artifact/out/patch-unit-tez-dag.txt
Test Resultshttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/8/testReport/
Max. process+thread count188 (vs. ulimit of 5500)
modulesC: tez-common tez-dag tez-plugins/tez-protobuf-history-plugin U: .
Console outputhttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/8/console
versionsgit=2.25.1 maven=3.6.3 findbugs=3.0.1
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@hadoop-yetus

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 31sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+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.
_ master Compile Tests _
+0 🆗mvndep4m 27sMaven dependency ordering for branch
+1 💚mvninstall8m 52smaster passed
+1 💚compile1m 39smaster passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04
+1 💚compile1m 30smaster passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
+1 💚checkstyle1m 34smaster passed
+1 💚javadoc1m 38smaster passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04
+1 💚javadoc1m 17smaster passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
+0 🆗spotbugs0m 39sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs2m 51smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 9sMaven dependency ordering for patch
+1 💚mvninstall0m 58sthe patch passed
+1 💚compile1m 1sthe patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04
+1 💚javac1m 1sthe patch passed
+1 💚compile0m 54sthe patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
+1 💚javac0m 54sthe patch passed
-0 ⚠️checkstyle0m 10stez-common: The patch generated 13 new + 0 unchanged - 0 fixed = 13 total (was 0)
-0 ⚠️checkstyle0m 8stez-plugins/tez-protobuf-history-plugin: The patch generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚javadoc0m 51sthe patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04
+1 💚javadoc0m 48sthe patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
+1 💚findbugs2m 24sthe patch passed
_ Other Tests _
+1 💚unit0m 31stez-common in the patch passed.
+1 💚unit4m 47stez-dag in the patch passed.
+1 💚unit0m 22stez-protobuf-history-plugin in the patch passed.
+1 💚asflicense0m 31sThe patch does not generate ASF License warnings.
39m 37s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/9/artifact/out/Dockerfile
GITHUB PR#120
JIRA IssueTEZ-4305
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs checkstyle compile
unameLinux 692d0099bc8e 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
Personalitypersonality/tez.sh
git revisionmaster / 0184781
Default JavaPrivate 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
checkstylehttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/9/artifact/out/diff-checkstyle-tez-common.txt
checkstylehttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/9/artifact/out/diff-checkstyle-tez-plugins_tez-protobuf-history-plugin.txt
Test Resultshttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/9/testReport/
Max. process+thread count195 (vs. ulimit of 5500)
modulesC: tez-common tez-dag tez-plugins/tez-protobuf-history-plugin U: .
Console outputhttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/9/console
versionsgit=2.25.1 maven=3.6.3 findbugs=3.0.1
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@abstractdog

abstractdog commented May 18, 2021

Copy link
Copy Markdown
Contributor

@abstractdog My bad. Got tricked by my own comment. Fixed it. Good catch.

thanks!
one more thing, I can still see checkstyle problems, I think you're using 4 spaces instead of 2 spaces which is used in tez project

@hadoop-yetus

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec16m 52sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚@author0m 1sThe 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.
_ master Compile Tests _
+0 🆗mvndep4m 12sMaven dependency ordering for branch
+1 💚mvninstall8m 53smaster passed
+1 💚compile1m 33smaster passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04
+1 💚compile1m 19smaster passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
+1 💚checkstyle1m 30smaster passed
+1 💚javadoc1m 27smaster passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04
+1 💚javadoc1m 12smaster passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
+0 🆗spotbugs0m 40sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs2m 48smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 9sMaven dependency ordering for patch
+1 💚mvninstall0m 53sthe patch passed
+1 💚compile0m 59sthe patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04
+1 💚javac0m 59sthe patch passed
+1 💚compile0m 50sthe patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
+1 💚javac0m 50sthe patch passed
-0 ⚠️checkstyle0m 8stez-common: The patch generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
-0 ⚠️checkstyle0m 7stez-plugins/tez-protobuf-history-plugin: The patch generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
+1 💚whitespace0m 1sThe patch has no whitespace issues.
+1 💚javadoc0m 50sthe patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04
+1 💚javadoc0m 46sthe patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
+1 💚findbugs2m 20sthe patch passed
_ Other Tests _
+1 💚unit0m 30stez-common in the patch passed.
+1 💚unit4m 8stez-dag in the patch passed.
+1 💚unit0m 21stez-protobuf-history-plugin in the patch passed.
+1 💚asflicense0m 27sThe patch does not generate ASF License warnings.
53m 52s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/10/artifact/out/Dockerfile
GITHUB PR#120
JIRA IssueTEZ-4305
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs checkstyle compile
unameLinux 209bf44c28db 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 toolmaven
Personalitypersonality/tez.sh
git revisionmaster / 0184781
Default JavaPrivate 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
checkstylehttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/10/artifact/out/diff-checkstyle-tez-common.txt
checkstylehttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/10/artifact/out/diff-checkstyle-tez-plugins_tez-protobuf-history-plugin.txt
Test Resultshttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/10/testReport/
Max. process+thread count215 (vs. ulimit of 5500)
modulesC: tez-common tez-dag tez-plugins/tez-protobuf-history-plugin U: .
Console outputhttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/10/console
versionsgit=2.25.1 maven=3.6.3 findbugs=3.0.1
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@hadoop-yetus

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec13m 40sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+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.
_ master Compile Tests _
+0 🆗mvndep4m 16sMaven dependency ordering for branch
+1 💚mvninstall8m 58smaster passed
+1 💚compile1m 42smaster passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04
+1 💚compile1m 32smaster passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
+1 💚checkstyle1m 40smaster passed
+1 💚javadoc1m 41smaster passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04
+1 💚javadoc1m 28smaster passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
+0 🆗spotbugs0m 43sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs2m 55smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 10sMaven dependency ordering for patch
+1 💚mvninstall0m 54sthe patch passed
+1 💚compile0m 57sthe patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04
+1 💚javac0m 57sthe patch passed
+1 💚compile0m 49sthe patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
+1 💚javac0m 49sthe patch passed
-0 ⚠️checkstyle0m 8stez-common: The patch generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚javadoc0m 49sthe patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04
+1 💚javadoc0m 45sthe patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
+1 💚findbugs2m 13sthe patch passed
_ Other Tests _
+1 💚unit0m 31stez-common in the patch passed.
+1 💚unit4m 15stez-dag in the patch passed.
+1 💚unit0m 22stez-protobuf-history-plugin in the patch passed.
+1 💚asflicense0m 30sThe patch does not generate ASF License warnings.
52m 7s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/11/artifact/out/Dockerfile
GITHUB PR#120
JIRA IssueTEZ-4305
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs checkstyle compile
unameLinux 2acb5d3a8b4a 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
Personalitypersonality/tez.sh
git revisionmaster / 0184781
Default JavaPrivate 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
checkstylehttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/11/artifact/out/diff-checkstyle-tez-common.txt
Test Resultshttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/11/testReport/
Max. process+thread count188 (vs. ulimit of 5500)
modulesC: tez-common tez-dag tez-plugins/tez-protobuf-history-plugin U: .
Console outputhttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/11/console
versionsgit=2.25.1 maven=3.6.3 findbugs=3.0.1
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

make the change backward compatible, if Tez is used with older versions of Hadoop
add a utility method
do not dependent on Hadoop snapshot
Add log
Move log message to else block
Fix indentation
@hadoop-yetus

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 29sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+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.
_ master Compile Tests _
+0 🆗mvndep4m 16sMaven dependency ordering for branch
+1 💚mvninstall8m 35smaster passed
+1 💚compile1m 38smaster passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04
+1 💚compile1m 31smaster passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
+1 💚checkstyle1m 42smaster passed
+1 💚javadoc1m 40smaster passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04
+1 💚javadoc1m 26smaster passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
+0 🆗spotbugs0m 42sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs2m 55smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 9sMaven dependency ordering for patch
+1 💚mvninstall0m 54sthe patch passed
+1 💚compile0m 56sthe patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04
+1 💚javac0m 56sthe patch passed
+1 💚compile0m 50sthe patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
+1 💚javac0m 50sthe patch passed
+1 💚checkstyle0m 34sthe patch passed
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚javadoc0m 48sthe patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04
+1 💚javadoc0m 45sthe patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10
+1 💚findbugs2m 15sthe patch passed
_ Other Tests _
+1 💚unit0m 31stez-common in the patch passed.
+1 💚unit4m 41stez-dag in the patch passed.
+1 💚unit0m 23stez-protobuf-history-plugin in the patch passed.
+1 💚asflicense0m 30sThe patch does not generate ASF License warnings.
38m 54s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/12/artifact/out/Dockerfile
GITHUB PR#120
JIRA IssueTEZ-4305
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs checkstyle compile
unameLinux 0c7fa85f8ca3 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
Personalitypersonality/tez.sh
git revisionmaster / 867e4d2
Default JavaPrivate 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 Resultshttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/12/testReport/
Max. process+thread count188 (vs. ulimit of 5500)
modulesC: tez-common tez-dag tez-plugins/tez-protobuf-history-plugin U: .
Console outputhttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-120/12/console
versionsgit=2.25.1 maven=3.6.3 findbugs=3.0.1
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@kishendas

Copy link
Copy Markdown
ContributorAuthor

@abstractdog Can you please approve and commit ? Finally tamed the checkstyle beast.

@abstractdog
abstractdog merged commit 4d37914 into apache:masterMay 20, 2021
@abstractdog

Copy link
Copy Markdown
Contributor

merged to master, thanks @kishendas for the patch and @harishjp for the review!

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.

5 participants

@kishendas@hadoop-yetus@jteagles@abstractdog@harishjp