Support Questions
Find answers, ask questions, and share your expertise

Storm env file

Hi there,

I am trying to add a custom jvm parameters to pass to storm master as well as workers to find a property file location. When I add to the master's /etc/storm/conf/, it gets picked from my topology main method. But, when added to the worker's instance the same JVM argument doest seem to work. Do the supervisors need a restart for this change(new JVM arg under) to appear ?

contents of my :

p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Menlo} p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Menlo; min-height: 15.0px} span.s1 {font-variant-ligatures: no-common-ligatures}


# Set Storm specific environment variables here.

# The java implementation to use.

export JAVA_HOME=/usr/jdk64/jdk1.8.0_77

export STORM_CONF_DIR=/usr/hdp/current/storm-client/conf

export STORM_HOME=/usr/hdp/current/storm-client





Typically env files like storm-env are shared across all the components, so a restart would be appropriate.

Expert Contributor

Hi Manoj,

Please refer below link hope it will be useful.