spark streaming 程序设置jvm参数

spark streaming 程序设置jvm参数

 

spark streaming 程序设置jvm参数,比如添加jconsole 远程连接参数: 

--conf "spark.executor.extraJavaOptions=-Dcom.sun.management.jmxremote.port=8999 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false"

完整例子

../spark/bin/spark-submit --class bi.strategy.behavior.analysis.AnalysisService --conf spark.default.parallelism=12 --conf spark.executor.memory=600m --conf spark.executor.cores=5 --conf spark.cores.max=5 --conf spark.driver.memory=600M --conf "spark.executor.extraJavaOptions=-Dcom.sun.management.jmxremote.port=8999 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false"  bi-strategy-behavior-analysis-1.0-SNAPSHOT-jar-with-dependencies.jar

 




posted @ 2018-03-07 18:41  yimison  阅读(307)  评论(0编辑  收藏  举报