-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AutoTuner/Bootstrapper should recommend Dataproc Spark performance enhancements #1539
Conversation
Signed-off-by: Partho Sarthi <psarthi@nvidia.com>
core/src/test/scala/com/nvidia/spark/rapids/tool/tuning/ProfilingAutoTunerSuite.scala
Outdated
Show resolved
Hide resolved
Signed-off-by: Partho Sarthi <psarthi@nvidia.com>
Signed-off-by: Partho Sarthi <psarthi@nvidia.com>
Signed-off-by: Partho Sarthi <psarthi@nvidia.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @parthosa !
nit: the test does not verify the behavior of the output in the following cases:
- The properties were already set by the user either true/false: just confirming that we want to override the value set by the user even when if they set it to false?
- The combined and the bootstrap output. It is fine to skip this since the implementation of those 2 parts is not completed anyway.
Signed-off-by: Partho Sarthi <psarthi@nvidia.com>
Thanks for catching that. Added unit test for this.
Yes, we might need a framework to test these two files. Then, we could test all the recommendations. I think we should do that separately. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A minor comment. Rest everythin looks good !
@@ -1117,8 +1117,9 @@ class AutoTuner( | |||
calculateClusterLevelRecommendations() | |||
|
|||
// add all platform specific recommendations | |||
platform.recommendationsToInclude.foreach { | |||
case (property, value) => appendRecommendation(property, value) | |||
platform.recommendationsToInclude.collect { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change prioritizes any user specified platform config over the ones coming from AutoTuner. We can update the comment to mention it if we plan to keeping this priority.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @sayedbilalbari. Updated the PR description with the comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @parthosa !
LGTME!
Fixes #1538.
This PR updates AutoTuner/Bootstrapper to recommend the following Dataproc Spark performance enhancements
Note:
Reference - https://cloud.google.com/dataproc/docs/guides/performance-enhancements