Storm JVM 参数优化

在配置文件storm.yaml中,有:

# to nimbus 
nimbus.childopts: "-Xmx1024m" 


# to supervisor 
supervisor.childopts: "-Xmx1024m" 


# to worker 
worker.childopts: "-Xmx768m" 


如果worker在运行时,需要用指定的JVM参数,那么可以像这样配置:
worker.childopts: "-Dworker=worker -Xmx768m -Xdebug –Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8111,suspend=y,server=y " 



你可能感兴趣的:(jvm,storm,config)