To use one of your existing Storm nodes (such as nimbus, supervisors, or drpc) as a Storm client node, complete the following steps for every user who requires Storm access (for example, to run Storm commands or deploy topologies):
Create a
.storm
directory in the user's home directory. For example, userjohn
should have a directory called/home/john/.storm/
.Add the following settings to the
/etc/storm/conf/storm.yaml
configuration file:nimbus.host: <nimbus-host> nimbus.thrift.port: 6667 java.security.auth.login.config: "/etc/storm/conf/client_jaas.conf" storm.thrift.transport: "backtype.storm.security.auth.kerberos.KerberosSaslTransportPlugin"
where
<nimbus-host>
is the host that is running Nimbus. For example:nimbus.host: "c6401.ambari.apache.org"
As mentioned earlier, repeat these steps for every user who requires Storm access.