Prepare the Storm service properties.
Save the old Storm configuration and add symlink from /etc/storm/conf:
mv /etc/storm/conf /etc/storm/conf.saved
ln -s /usr/hdp/current/storm-client/conf /etc/storm/conf
ls -la /etc/storm
total 4 drwxr-xr-x 3 root root 4096 Jun 19 21:51 2.3.0.0-2323 lrwxrwxrwx 1 root root 35 Jun 19 21:54 conf -> /usr/hdp/current/storm-client/conf drwxr-xr-x 2 root root 4096 Jun 14 00:11 conf.saved
Delete all states under ZooKeeper:
/usr/hdp/current/zookeeper-client/bin/zkCli.sh rmr /storm
Optional: In a secure environment, include the "-server zk.server:port" option.
Remove the
storm.local.dir
from every host where the Storm component is installed.You can find this property in
Services > Storm > Configs
under the Settings tab.rm -rf
<storm.local.dir>Browse to
Services
>Storm
>Configs
under theAdvanced
tab. In the Supervisor section, find thesupervisor.childopts
property. Update the path for thejmxetric-1.0.4.jar
file to the following:/usr/hdp/current/storm-nimbus/contrib/storm-jmxetric/lib/jmxetric-1.0.4.jar
If the
supervisor.childopts
property value contains the following setting, delete the setting:-Djava.security.auth.login.config=/etc/storm/conf/storm_jaas.conf
Retain any other settings in the
supervisor.childopts
box.Browse to
Services
>Storm
>Configs
under theAdvanced
tab. In the Advanced storm-site section, add or update the following settings forworker.childopts
:-Xmx768m
_JAAS_PLACEHOLDER
-javaagent:/usr/hdp/current/storm-client/contrib/storm-jmxetric/lib/jmxetric-1.0.4.jar
Retain any other settings in the
worker.childopts
box.If you are planning to enable secure mode, browse to Services >
Storm
>Configs
under theAdvanced
tab and add the following property to the Advanced storm-site section:_storm.thrift.secure.transport=backtype.storm.security.auth.kerberos.KerberosSaslTransportPlugin
Start Storm, by selecting
Service Actions
>Start
.After Storm has started, select Run
Service Check
from theService Actions
menu. Confirm the Service Check passes.
Using Ambari Web
> Services
> Service
Actions
, re-start all stopped services.