Skip to content

TEZ-4129: Delete intermediate attempt data for failed attempts for Shuffle Handler - #72

Merged
abstractdog merged 1 commit into
apache:masterfrom
shameersss1:TEZ-4129
Jan 27, 2022
Merged

TEZ-4129: Delete intermediate attempt data for failed attempts for Shuffle Handler#72
abstractdog merged 1 commit into
apache:masterfrom
shameersss1:TEZ-4129

Conversation

@shameersss1

@shameersss1shameersss1 commented Jul 23, 2020

Copy link
Copy Markdown
Contributor

Delete intermediate attempt data for failed task attempts for Tez Shuffle Handler

@abstractdog

Copy link
Copy Markdown
Contributor

@shameersss1: could you please rebase this PR and squash your commits? I believe ShuffleHandler changes should be reviewed and committed next year, we'll find a way to review those
I think Github PRs are going to make the conversation much easier

@shameersss1

Copy link
Copy Markdown
ContributorAuthor

@shameersss1: could you please rebase this PR and squash your commits? I believe ShuffleHandler changes should be reviewed and committed next year, we'll find a way to review those I think Github PRs are going to make the conversation much easier

@abstractdog Thanks for looking into this. I have rebased and squash merged the commit. Please review the changes.

@tez-yetus

This comment has been minimized.

@tez-yetus

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 29sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 1sNo case conflicting files found.
+1 💚@author0m 0sThe patch does not contain any @author tags.
+1 💚test4tests0m 0sThe patch appears to include 3 new or modified test files.
_ master Compile Tests _
+0 🆗mvndep4m 22sMaven dependency ordering for branch
+1 💚mvninstall9m 8smaster passed
+1 💚compile2m 50smaster passed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04
+1 💚compile2m 39smaster passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
+1 💚checkstyle2m 34smaster passed
+1 💚javadoc2m 48smaster passed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04
+1 💚javadoc2m 31smaster passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
+0 🆗spotbugs0m 42sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs4m 49smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 9sMaven dependency ordering for patch
+1 💚mvninstall1m 45sthe patch passed
+1 💚compile1m 40sthe patch passed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04
+1 💚javac1m 40sthe patch passed
+1 💚compile1m 30sthe patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
+1 💚javac1m 30sthe patch passed
-0 ⚠️checkstyle0m 11stez-plugins/tez-aux-services: The patch generated 2 new + 63 unchanged - 0 fixed = 65 total (was 63)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚javadoc1m 29sthe patch passed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04
+1 💚javadoc1m 23sthe patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
+1 💚findbugs4m 5sthe patch passed
_ Other Tests _
+1 💚unit2m 0stez-api in the patch passed.
+1 💚unit0m 27stez-common in the patch passed.
+1 💚unit5m 19stez-runtime-library in the patch passed.
+1 💚unit4m 16stez-dag in the patch passed.
+1 💚unit2m 38stez-aux-services in the patch passed.
+1 💚asflicense0m 48sThe patch does not generate ASF License warnings.
62m 51s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-72/2/artifact/out/Dockerfile
GITHUB PR#72
JIRA IssueTEZ-4129
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs checkstyle compile
unameLinux a5b2e48fce9c 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 toolmaven
Personalitypersonality/tez.sh
git revisionmaster / c9b8e90
Default JavaPrivate Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
Multi-JDK versions/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
checkstylehttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-72/2/artifact/out/diff-checkstyle-tez-plugins_tez-aux-services.txt
Test Resultshttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-72/2/testReport/
Max. process+thread count1479 (vs. ulimit of 5500)
modulesC: tez-api tez-common tez-runtime-library tez-dag tez-plugins/tez-aux-services U: .
Console outputhttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-72/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.

Comment threadtez-dag/src/test/java/org/apache/tez/dag/app/dag/impl/TestTaskImpl.java Outdated
Comment threadtez-api/src/main/java/org/apache/tez/dag/api/TezConfiguration.java Outdated
@shameersss1

Copy link
Copy Markdown
ContributorAuthor

@abstractdog - Thanks for the review. I have addressed your comments. Please re-review the changes

@tez-yetus

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 3sDocker 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 2 new or modified test files.
_ master Compile Tests _
+0 🆗mvndep5m 4sMaven dependency ordering for branch
+1 💚mvninstall9m 21smaster passed
+1 💚compile2m 52smaster passed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04
+1 💚compile2m 41smaster passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
+1 💚checkstyle2m 36smaster passed
+1 💚javadoc2m 49smaster passed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04
+1 💚javadoc2m 31smaster passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
+0 🆗spotbugs0m 43sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs4m 54smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 10sMaven dependency ordering for patch
+1 💚mvninstall1m 46sthe patch passed
+1 💚compile1m 43sthe patch passed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04
+1 💚javac1m 43sthe patch passed
+1 💚compile1m 34sthe patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
+1 💚javac1m 34sthe patch passed
-0 ⚠️checkstyle0m 10stez-plugins/tez-aux-services: The patch generated 2 new + 63 unchanged - 0 fixed = 65 total (was 63)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚javadoc1m 31sthe patch passed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04
+1 💚javadoc1m 24sthe patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
+1 💚findbugs4m 5sthe patch passed
_ Other Tests _
+1 💚unit2m 6stez-api in the patch passed.
+1 💚unit0m 28stez-common in the patch passed.
+1 💚unit4m 34stez-runtime-library in the patch passed.
+1 💚unit4m 25stez-dag in the patch passed.
+1 💚unit2m 43stez-aux-services in the patch passed.
+1 💚asflicense0m 48sThe patch does not generate ASF License warnings.
64m 19s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-72/3/artifact/out/Dockerfile
GITHUB PR#72
JIRA IssueTEZ-4129
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs checkstyle compile
unameLinux e77a7a965b00 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
Personalitypersonality/tez.sh
git revisionmaster / 1176386
Default JavaPrivate Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
Multi-JDK versions/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
checkstylehttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-72/3/artifact/out/diff-checkstyle-tez-plugins_tez-aux-services.txt
Test Resultshttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-72/3/testReport/
Max. process+thread count1485 (vs. ulimit of 5500)
modulesC: tez-api tez-common tez-runtime-library tez-dag tez-plugins/tez-aux-services U: .
Console outputhttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-72/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.

ShuffleHandler.USERCACHE, user,
ShuffleHandler.APPCACHE, appId.toString(), "dag_1/output/", appAttemptId});
File taskAttemptDir = new File(taskAttemptDirStr);
Assert.assertTrue("Task Attempt Directory does not exist!", taskAttemptDir.exists());

@abstractdogabstractdogJan 25, 2022

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

for clarity's sake, please create an Assert.assertFalse(..., taskAttemptDir.exists()) before you expect the file to appear, this way the unit test also verifies that the task attempt file wasn't present (it's not the point of the unit test, but it is worth doing)

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

ack!

@abstractdog

Copy link
Copy Markdown
Contributor

@abstractdog - Thanks for the review. I have addressed your comments. Please re-review the changes

thanks @shameersss1 , 1 more very minor note

@shameersss1

Copy link
Copy Markdown
ContributorAuthor

@abstractdog - Thanks for the review. I have addressed your comments. Please re-review the changes

thanks @shameersss1 , 1 more very minor note

@abstractdog I have addressed that. Please re-review the changes

@tez-yetus

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 10sDocker 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 2 new or modified test files.
_ master Compile Tests _
+0 🆗mvndep4m 59sMaven dependency ordering for branch
+1 💚mvninstall9m 18smaster passed
+1 💚compile2m 52smaster passed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04
+1 💚compile2m 39smaster passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
+1 💚checkstyle2m 36smaster passed
+1 💚javadoc2m 48smaster passed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04
+1 💚javadoc2m 34smaster passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
+0 🆗spotbugs0m 42sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs4m 55smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 10sMaven dependency ordering for patch
+1 💚mvninstall1m 48sthe patch passed
+1 💚compile1m 43sthe patch passed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04
+1 💚javac1m 43sthe patch passed
+1 💚compile1m 32sthe patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
+1 💚javac1m 32sthe patch passed
-0 ⚠️checkstyle0m 11stez-plugins/tez-aux-services: The patch generated 4 new + 63 unchanged - 0 fixed = 67 total (was 63)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚javadoc1m 29sthe patch passed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04
+1 💚javadoc1m 23sthe patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
+1 💚findbugs4m 7sthe patch passed
_ Other Tests _
+1 💚unit2m 4stez-api in the patch passed.
+1 💚unit0m 27stez-common in the patch passed.
+1 💚unit4m 35stez-runtime-library in the patch passed.
+1 💚unit4m 26stez-dag in the patch passed.
+1 💚unit2m 44stez-aux-services in the patch passed.
+1 💚asflicense0m 49sThe patch does not generate ASF License warnings.
64m 20s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-72/4/artifact/out/Dockerfile
GITHUB PR#72
JIRA IssueTEZ-4129
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs checkstyle compile
unameLinux ccdbac750454 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
Personalitypersonality/tez.sh
git revisionmaster / 1176386
Default JavaPrivate Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
Multi-JDK versions/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
checkstylehttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-72/4/artifact/out/diff-checkstyle-tez-plugins_tez-aux-services.txt
Test Resultshttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-72/4/testReport/
Max. process+thread count2100 (vs. ulimit of 5500)
modulesC: tez-api tez-common tez-runtime-library tez-dag tez-plugins/tez-aux-services U: .
Console outputhttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-72/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.

@abstractdogabstractdog left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM +1
I've included this patch to a cluster using tez shuffle handler, haven't found any regression
code looks straightforward and clean, I'm approving

letting this PR open for 24h if any other comments come in
@jteagles

@abstractdog
abstractdog merged commit 4e3eb95 into apache:masterJan 27, 2022
shameersss1 added a commit to shameersss1/tez that referenced this pull request Feb 7, 2022
…uffle Handler (apache#72) (Syed Shameerur Rahman reviewed by Laszlo Bodor)
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

@shameersss1@abstractdog@tez-yetus