LuciferYang opened a new pull request #32003:
URL: https://github.com/apache/spark/pull/32003


   ### What changes were proposed in this pull request?
   Some `spark-submit`  commands used to run benchmarks in the user's guide is 
wrong, we can't use these commands to run benchmarks successful.
   
   So the major changes of this pr is correct these wrong commands, for 
example, run a benchmark which inherits from `SqlBasedBenchmark`, we must 
specify `--jars <spark core test jar>,<spark catalyst test jar>` because 
`SqlBasedBenchmark` based benchmark extends `BenchmarkBase(defined in spark 
core test jar)` and `SQLHelper(defined in spark catalyst test jar)`.
   
   Another change of this pr is removed the `scalatest Assertions` dependency 
of Benchmarks because `scalatest-*.jar` are not in the distribution package, it 
will be troublesome to use.
   
   ### Why are the changes needed?
   Make sure benchmarks can run using spark-submit cmd described in the guide
   
   
   ### Does this PR introduce _any_ user-facing change?
   No.
   
   
   ### How was this patch tested?
   Use the corrected `spark-submit` commands to run benchmarks successfully.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to