[SPARK-25657][SQL][TEST] Refactor HashBenchmark to use main method#22651
Closed
wangyum wants to merge 4 commits intoapache:masterfrom
wangyum:SPARK-25657
Closed
[SPARK-25657][SQL][TEST] Refactor HashBenchmark to use main method#22651wangyum wants to merge 4 commits intoapache:masterfrom wangyum:SPARK-25657
wangyum wants to merge 4 commits intoapache:masterfrom
wangyum:SPARK-25657
Conversation
|
Test build #97039 has finished for PR 22651 at commit
|
| * To run this benchmark: | ||
| * {{{ | ||
| * 1. without sbt: bin/spark-submit --class <this class> <spark sql test jar> | ||
| * 2. build/sbt "sql/test:runMain <this class>" |
| * {{{ | ||
| * 1. without sbt: bin/spark-submit --class <this class> <spark sql test jar> | ||
| * 2. build/sbt "sql/test:runMain <this class>" | ||
| * 3. generate result: SPARK_GENERATE_BENCHMARK_FILES=1 build/sbt "sql/test:runMain <this class>" |
Member
|
Also, please review and merge wangyum#16 . |
|
Test build #97057 has finished for PR 22651 at commit
|
|
Test build #97067 has finished for PR 22651 at commit
|
Member
Author
|
retest this please |
|
Test build #97069 has finished for PR 22651 at commit
|
|
Test build #97076 has finished for PR 22651 at commit
|
Member
Author
|
retest this please |
|
Test build #97078 has finished for PR 22651 at commit
|
Member
Author
|
retest this please |
|
Test build #97079 has finished for PR 22651 at commit
|
dongjoon-hyun
approved these changes
Oct 7, 2018
Member
dongjoon-hyun
left a comment
There was a problem hiding this comment.
Thank you, @wangyum .
+1, LGTM. Merged to master.
jackylee-ch
pushed a commit
to jackylee-ch/spark
that referenced
this pull request
Feb 18, 2019
## What changes were proposed in this pull request? Refactor `HashBenchmark` to use main method. 1. use `spark-submit`: ```console bin/spark-submit --class org.apache.spark.sql.HashBenchmark --jars ./core/target/spark-core_2.11-3.0.0-SNAPSHOT-tests.jar ./sql/catalyst/target/spark-catalyst_2.11-3.0.0-SNAPSHOT-tests.jar ``` 2. Generate benchmark result: ```console SPARK_GENERATE_BENCHMARK_FILES=1 build/sbt "catalyst/test:runMain org.apache.spark.sql.HashBenchmark" ``` ## How was this patch tested? manual tests Closes apache#22651 from wangyum/SPARK-25657. Lead-authored-by: Yuming Wang <wgyumg@gmail.com> Co-authored-by: Yuming Wang <yumwang@ebay.com> Co-authored-by: Dongjoon Hyun <dongjoon@apache.org> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
Refactor
HashBenchmarkto use main method.spark-submit:bin/spark-submit --class org.apache.spark.sql.HashBenchmark --jars ./core/target/spark-core_2.11-3.0.0-SNAPSHOT-tests.jar ./sql/catalyst/target/spark-catalyst_2.11-3.0.0-SNAPSHOT-tests.jarSPARK_GENERATE_BENCHMARK_FILES=1 build/sbt "catalyst/test:runMain org.apache.spark.sql.HashBenchmark"How was this patch tested?
manual tests