zoukankan      html  css  js  c++  java
  • 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



  • 相关阅读:
    iOS学习-UILabel
    react js
    代理模式
    利用gitbush从git上下载代码到本地
    VS2017企业版密钥
    office2016产品密钥及激活工具
    .netframe初识
    树的遍历——c#实现
    数据结构——总结
    单例模式
  • 原文地址:https://www.cnblogs.com/chengjunhao/p/8524634.html
Copyright © 2011-2022 走看看