Created
October 28, 2014 06:16
-
-
Save haiy/c8ed11f8d121a2ca4eac to your computer and use it in GitHub Desktop.
yarn spark test
This file contains 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
1 清理日志 | |
j log | |
cd $SPARK_HOME &&spark-submit --class org.apache.spark.examples.SparkPi \ | |
--master yarn-cluster \ | |
--num-executors 3 \ | |
--driver-memory 4g \ | |
--executor-memory 2g \ | |
--executor-cores 1 \ | |
lib/spark-examples*.jar \ | |
10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
spark-submit --class org.apache.spark.examples.SparkPi
--master yarn-cluster
--num-executors 3
--driver-memory 4g
--executor-memory 20g
--executor-cores 1
lib/spark-examples*.jar
10