Storm JVM 参数优化

2019独角兽企业重金招聘Python工程师标准>>> hot3.png

在配置文件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 " 



转载于:https://my.oschina.net/darionyaphet/blog/267709

你可能感兴趣的:(Storm JVM 参数优化)