Skip to content

TEZ-4506: Report the node of a task attempt failure better. - #307

Merged
abstractdog merged 1 commit into
apache:masterfrom
ayushtkn:TEZ-4506
Sep 1, 2023
Merged

TEZ-4506: Report the node of a task attempt failure better.#307
abstractdog merged 1 commit into
apache:masterfrom
ayushtkn:TEZ-4506

Conversation

@ayushtkn

Copy link
Copy Markdown
Member

No description provided.

@tez-yetus

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 34sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚@author0m 0sThe patch does not contain any @author tags.
+1 💚test4tests0m 0sThe patch appears to include 1 new or modified test files.
_ master Compile Tests _
+1 💚mvninstall16m 2smaster passed
+1 💚compile0m 28smaster passed with JDK Ubuntu-11.0.20+8-post-Ubuntu-1ubuntu122.04
+1 💚compile0m 26smaster passed with JDK Private Build-1.8.0_382-8u382-ga-1~22.04.1-b05
+1 💚checkstyle1m 16smaster passed
+1 💚javadoc0m 34smaster passed with JDK Ubuntu-11.0.20+8-post-Ubuntu-1ubuntu122.04
+1 💚javadoc0m 19smaster passed with JDK Private Build-1.8.0_382-8u382-ga-1~22.04.1-b05
+0 🆗spotbugs1m 15sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs1m 13smaster passed
_ Patch Compile Tests _
+1 💚mvninstall0m 17sthe patch passed
+1 💚compile0m 17sthe patch passed with JDK Ubuntu-11.0.20+8-post-Ubuntu-1ubuntu122.04
+1 💚javac0m 17sthe patch passed
+1 💚compile0m 15sthe patch passed with JDK Private Build-1.8.0_382-8u382-ga-1~22.04.1-b05
+1 💚javac0m 15sthe patch passed
+1 💚checkstyle0m 9sthe patch passed
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚javadoc0m 8sthe patch passed with JDK Ubuntu-11.0.20+8-post-Ubuntu-1ubuntu122.04
+1 💚javadoc0m 8sthe patch passed with JDK Private Build-1.8.0_382-8u382-ga-1~22.04.1-b05
+1 💚findbugs0m 40sthe patch passed
_ Other Tests _
+1 💚unit0m 45stez-runtime-internals in the patch passed.
+1 💚asflicense0m 14sThe patch does not generate ASF License warnings.
24m 45s
SubsystemReport/Notes
DockerClientAPI=1.43 ServerAPI=1.43 base: https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-307/1/artifact/out/Dockerfile
GITHUB PR#307
JIRA IssueTEZ-4506
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs checkstyle compile
unameLinux a171edab3c85 4.15.0-212-generic #223-Ubuntu SMP Tue May 23 13:09:22 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitypersonality/tez.sh
git revisionmaster / b643f9b
Default JavaPrivate Build-1.8.0_382-8u382-ga-1~22.04.1-b05
Multi-JDK versions/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.20+8-post-Ubuntu-1ubuntu122.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_382-8u382-ga-1~22.04.1-b05
Test Resultshttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-307/1/testReport/
Max. process+thread count92 (vs. ulimit of 5500)
modulesC: tez-runtime-internals U: tez-runtime-internals
Console outputhttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-307/1/console
versionsgit=2.34.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

thanks for the patch @ayushtkn, basically, it looks good to me
can you paste here how you tested this and what was the diagnostic message like with the patch?

@ayushtkn

Copy link
Copy Markdown
MemberAuthor

@abstractdog I tried the UT's present in the code. The error message looked like

Node: ayushsaxena/192.168.29.11 : Error while running task ( failure ) : attempt_10000_0001_1_01_000001_1:org.apache.tez.dag.api.TezReflectionException: Unable to load class: NotExitedProcessor
at org.apache.tez.common.ReflectionUtils.getClazz(ReflectionUtils.java:45)
at org.apache.tez.common.ReflectionUtils.createClazzInstance(ReflectionUtils.java:86)
at org.apache.tez.runtime.LogicalIOProcessorRuntimeTask.createProcessor(LogicalIOProcessorRuntimeTask.java:680)
at org.apache.tez.runtime.LogicalIOProcessorRuntimeTask.initialize(LogicalIOProcessorRuntimeTask.java:241)
at org.apache.tez.runtime.task.TaskRunner2Callable$1.run(TaskRunner2Callable.java:78)
at org.apache.tez.runtime.task.TaskRunner2Callable$1.run(TaskRunner2Callable.java:69)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:422)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1899)
at org.apache.tez.runtime.task.TaskRunner2Callable.callInternal(TaskRunner2Callable.java:69)
at org.apache.tez.runtime.task.TaskRunner2Callable.callInternal(TaskRunner2Callable.java:39)
at org.apache.tez.common.CallableWithNdc.call(CallableWithNdc.java:36)
at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:131)
at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:75)
at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:82)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)
Caused by: java.lang.ClassNotFoundException: NotExitedProcessor
at java.net.URLClassLoader.findClass(URLClassLoader.java:387)
at java.lang.ClassLoader.loadClass(ClassLoader.java:419)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
at java.lang.ClassLoader.loadClass(ClassLoader.java:352)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at org.apache.tez.common.ReflectionUtils.getClazz(ReflectionUtils.java:43)
... 17 more

@abstractdog
abstractdog self-requested a review September 1, 2023 09:15
@abstractdog
abstractdog merged commit 7855c1f into apache:masterSep 1, 2023
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.

3 participants

@ayushtkn@tez-yetus@abstractdog