Skip to content

TEZ-4526: Avoid calling LocationProvider#getPreferredLocations multiple times while generating grouped splits - #323

Merged
abstractdog merged 1 commit into
apache:masterfrom
SourabhBadhya:TEZ-4526
Jan 9, 2024
Merged

TEZ-4526: Avoid calling LocationProvider#getPreferredLocations multiple times while generating grouped splits#323
abstractdog merged 1 commit into
apache:masterfrom
SourabhBadhya:TEZ-4526

Conversation

@SourabhBadhya

Copy link
Copy Markdown
Contributor

TEZ-4526: Avoid calling LocationProvider#getPreferredLocations multiple times while generating grouped splits

@tez-yetus

This comment was marked as outdated.

@SourabhBadhya

Copy link
Copy Markdown
ContributorAuthor

Requesting @rbalamohan@abstractdog for reviews.

@tez-yetus

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec22m 9sDocker 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 💚mvninstall15m 44smaster passed
+1 💚compile0m 31smaster passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu122.04
+1 💚compile0m 30smaster passed with JDK Private Build-1.8.0_392-8u392-ga-1~22.04-b08
+1 💚checkstyle1m 22smaster passed
+1 💚javadoc0m 41smaster passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu122.04
+1 💚javadoc0m 27smaster passed with JDK Private Build-1.8.0_392-8u392-ga-1~22.04-b08
+0 🆗spotbugs1m 20sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs1m 18smaster passed
_ Patch Compile Tests _
+1 💚mvninstall0m 19sthe patch passed
+1 💚compile0m 19sthe patch passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu122.04
+1 💚javac0m 19sthe patch passed
+1 💚compile0m 18sthe patch passed with JDK Private Build-1.8.0_392-8u392-ga-1~22.04-b08
+1 💚javac0m 18sthe patch passed
+1 💚checkstyle0m 10stez-mapreduce: The patch generated 0 new + 15 unchanged - 1 fixed = 15 total (was 16)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚javadoc0m 17sthe patch passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu122.04
+1 💚javadoc0m 15sthe patch passed with JDK Private Build-1.8.0_392-8u392-ga-1~22.04-b08
+1 💚findbugs0m 44sthe patch passed
_ Other Tests _
+1 💚unit1m 33stez-mapreduce in the patch passed.
+1 💚asflicense0m 16sThe patch does not generate ASF License warnings.
47m 49s
SubsystemReport/Notes
DockerClientAPI=1.43 ServerAPI=1.43 base: https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-323/2/artifact/out/Dockerfile
GITHUB PR#323
JIRA IssueTEZ-4526
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs checkstyle compile
unameLinux 5b3a0ef9aa5f 5.15.0-88-generic #98-Ubuntu SMP Mon Oct 2 15:18:56 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitypersonality/tez.sh
git revisionmaster / 0c5cf68
Default JavaPrivate Build-1.8.0_392-8u392-ga-1~22.04-b08
Multi-JDK versions/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu122.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_392-8u392-ga-1~22.04-b08
Test Resultshttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-323/2/testReport/
Max. process+thread count243 (vs. ulimit of 5500)
modulesC: tez-mapreduce U: tez-mapreduce
Console outputhttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-323/2/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.

@SourabhBadhya

Copy link
Copy Markdown
ContributorAuthor

Time taken for grouping splits - Generated 30000 file splits and generated 1000 grouped splits with each grouped split having 30 file splits.

Without patchWith patch
0.095s0.078s
0.08s0.081s
0.081s0.078s

I dont see a regression happening with the patch. I think I have addressed the regression comments on TEZ-4069.

@abstractdog
abstractdog self-requested a review January 9, 2024 15:45

@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, thanks for the perf testing!

@abstractdog
abstractdog merged commit 2161124 into apache:masterJan 9, 2024
abstractdog pushed a commit that referenced this pull request Jan 17, 2024
abstractdog added a commit that referenced this pull request Jan 17, 2024
…le times while generating grouped splits (#323) - CHANGES.txt
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

@SourabhBadhya@tez-yetus@abstractdog