You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2021/03/29 14:51:26 UTC

[GitHub] [spark] LuciferYang commented on a change in pull request #31995: [SPARK-34900][TEST] Make sure benchmarks can run using spark-submit cmd described in the guide

LuciferYang commented on a change in pull request #31995:
URL: https://github.com/apache/spark/pull/31995#discussion_r603361122



##########
File path: core/src/test/scala/org/apache/spark/MapStatusesSerDeserBenchmark.scala
##########
@@ -28,7 +26,7 @@ import org.apache.spark.storage.BlockManagerId
  * Benchmark for MapStatuses serialization & deserialization performance.
  * {{{
  *   To run this benchmark:
- *   1. without sbt: bin/spark-submit --class <this class> --jars <core test jar>
+ *   1. without sbt: bin/spark-submit --class <this class> <spark core test jar>

Review comment:
       use command
   ```
   bin/spark-submit --class org.apache.spark.MapStatusesSerDeserBenchmark --jars spark-core_2.12-3.2.0-SNAPSHOT-tests.jar 
   Error: Missing application resource.
   ```
   should remove `--jars` because  `MapStatusesSerDeserBenchmark` run in local mode.




-- 
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org