Skip to content

TEZ-4450: Shuffle data fetch fails when shuffle data is transferred via CompositeRoutedDataMovementEvent - #243

Merged
abstractdog merged 1 commit into
apache:masterfrom
ganeshashree:TEZ-4450
Oct 26, 2022
Merged

TEZ-4450: Shuffle data fetch fails when shuffle data is transferred via CompositeRoutedDataMovementEvent#243
abstractdog merged 1 commit into
apache:masterfrom
ganeshashree:TEZ-4450

Conversation

@ganeshashree

Copy link
Copy Markdown
Contributor

Fixed failure in fetching shuffle data when it's transferred via CompositeRoutedDataMovementEvent.
Added unit test to test the failure scenario.

Jira ticket: https://issues.apache.org/jira/browse/TEZ-4450

@abstractdog

Copy link
Copy Markdown
Contributor

thanks for the patch @ganeshashree, could you please open a jira ticket for this?

@ganeshashreeganeshashree changed the title Shuffle data fetch fails when shuffle data is transferred via CompositeRoutedDataMovementEventTEZ-4075: Shuffle data fetch fails when shuffle data is transferred via CompositeRoutedDataMovementEventOct 11, 2022
@ganeshashree

Copy link
Copy Markdown
ContributorAuthor

@abstractdog Jira ticket is https://issues.apache.org/jira/browse/TEZ-4450. Please review.

@ganeshashreeganeshashree changed the title TEZ-4075: Shuffle data fetch fails when shuffle data is transferred via CompositeRoutedDataMovementEventTEZ-4450: Shuffle data fetch fails when shuffle data is transferred via CompositeRoutedDataMovementEventOct 11, 2022
@tez-yetus

This comment was marked as outdated.

@tez-yetus

This comment was marked as outdated.

@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 _
+1 💚mvninstall16m 2smaster passed
+1 💚compile0m 44smaster passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04
+1 💚compile0m 39smaster passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07
+1 💚checkstyle1m 12smaster passed
+1 💚javadoc0m 48smaster passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04
+1 💚javadoc0m 35smaster passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07
+0 🆗spotbugs1m 31sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs1m 30smaster passed
_ Patch Compile Tests _
+1 💚mvninstall0m 23sthe patch passed
+1 💚compile0m 26sthe patch passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04
+1 💚javac0m 26sthe patch passed
+1 💚compile0m 21sthe patch passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07
+1 💚javac0m 21sthe patch passed
+1 💚checkstyle0m 16stez-runtime-library: The patch generated 0 new + 23 unchanged - 1 fixed = 23 total (was 24)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚javadoc0m 20sthe patch passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04
+1 💚javadoc0m 19sthe patch passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07
+1 💚findbugs1m 0sthe patch passed
_ Other Tests _
+1 💚unit5m 32stez-runtime-library in the patch passed.
+1 💚asflicense0m 15sThe patch does not generate ASF License warnings.
32m 17s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-243/3/artifact/out/Dockerfile
GITHUB PR#243
JIRA IssueTEZ-4450
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs checkstyle compile
unameLinux c7cd89b43789 4.15.0-191-generic #202-Ubuntu SMP Thu Aug 4 01:49:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitypersonality/tez.sh
git revisionmaster / 921de53
Default JavaPrivate Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07
Multi-JDK versions/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07
Test Resultshttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-243/3/testReport/
Max. process+thread count2091 (vs. ulimit of 5500)
modulesC: tez-runtime-library U: tez-runtime-library
Console outputhttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-243/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.

@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.

looks good to me, only a minor question

@@ -0,0 +1,13 @@
# Licensed under the Apache License, Version 2.0 (the "License");

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.

does this extra file have any advantages compared to adding this below as a dependency:

<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-inline</artifactId>
<version>xxx</version>
<scope>test</scope>
</dependency>

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.

@abstractdog Both options work, the difference is just the extra file versus extra dependency. As per this doc, mockito-inline artifact likely to be discontinued once mocking of final classes and methods gets integrated into the default mock maker. Please let me know if adding mockito-inline dependency looks better.

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.

thanks for clarifying, I'm fine with this file then

@abstractdog
abstractdog self-requested a review October 26, 2022 07:49

@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.

+1

@abstractdog
abstractdog merged commit 8ebc4b0 into apache:masterOct 26, 2022
prabhjyotsingh pushed a commit to acceldata-io/tez that referenced this pull request Nov 11, 2024
…ia CompositeRoutedDataMovementEvent (apache#243) (Ganesha Shreedhara reviewed by Laszlo Bodor)
(cherry picked from commit 8ebc4b0)
prabhjyotsingh pushed a commit to acceldata-io/tez that referenced this pull request Nov 12, 2024
…ia CompositeRoutedDataMovementEvent (apache#243) (Ganesha Shreedhara reviewed by Laszlo Bodor)
(cherry picked from commit 8ebc4b0)
prabhjyotsingh pushed a commit to acceldata-io/tez that referenced this pull request Nov 12, 2024
…ia CompositeRoutedDataMovementEvent (apache#243) (Ganesha Shreedhara reviewed by Laszlo Bodor)
(cherry picked from commit 8ebc4b0)
(cherry picked from commit 94da1f2)
prabhjyotsingh pushed a commit to acceldata-io/tez that referenced this pull request Nov 12, 2024
…ia CompositeRoutedDataMovementEvent (apache#243) (Ganesha Shreedhara reviewed by Laszlo Bodor)
(cherry picked from commit 8ebc4b0)
(cherry picked from commit 94da1f2)
prabhjyotsingh pushed a commit to acceldata-io/tez that referenced this pull request Nov 12, 2024
…ia CompositeRoutedDataMovementEvent (apache#243) (Ganesha Shreedhara reviewed by Laszlo Bodor)
(cherry picked from commit 8ebc4b0)
(cherry picked from commit 94da1f2)
prabhjyotsingh pushed a commit to acceldata-io/tez that referenced this pull request Nov 12, 2024
…ia CompositeRoutedDataMovementEvent (apache#243) (Ganesha Shreedhara reviewed by Laszlo Bodor)
(cherry picked from commit 8ebc4b0)
(cherry picked from commit 94da1f2)
prabhjyotsingh pushed a commit to acceldata-io/tez that referenced this pull request Nov 12, 2024
…ia CompositeRoutedDataMovementEvent (apache#243) (Ganesha Shreedhara reviewed by Laszlo Bodor)
(cherry picked from commit 8ebc4b0)
(cherry picked from commit 94da1f2)
prabhjyotsingh pushed a commit to acceldata-io/tez that referenced this pull request Nov 20, 2024
…ia CompositeRoutedDataMovementEvent (apache#243) (Ganesha Shreedhara reviewed by Laszlo Bodor)
(cherry picked from commit 8ebc4b0)
(cherry picked from commit 94da1f2)
(cherry picked from commit 238df23)
prabhjyotsingh added a commit to acceldata-io/tez that referenced this pull request Nov 20, 2024
…nsferred via CompositeRoutedDataMovementEvent (apache#243) (Ganesha Shreedhara reviewed by Laszlo Bodor) (#20)
(cherry picked from commit 8ebc4b0)
(cherry picked from commit 94da1f2)
(cherry picked from commit 238df23)
Co-authored-by: Ganesha Shreedhara <ganeshashree2@gmail.com>
shubhluck pushed a commit to acceldata-io/tez that referenced this pull request Nov 21, 2024
…nsferred via CompositeRoutedDataMovementEvent (apache#243) (Ganesha Shreedhara reviewed by Laszlo Bodor) (#20)
(cherry picked from commit 8ebc4b0)
(cherry picked from commit 94da1f2)
(cherry picked from commit 238df23)
Co-authored-by: Ganesha Shreedhara <ganeshashree2@gmail.com>
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

@ganeshashree@abstractdog@tez-yetus