spark streaming 程序設置jvm參數
阿新 • • 發佈:2018-03-07
als sna 參數 DC spa dep jvm參數 jar com
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
spark streaming 程序設置jvm參數