Configuring Storm for Kerberos Over Ambari
Also available as:
PDF

Use an Existing Storm Node

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):

  1. Create a .storm directory in the user's home directory. For example, user john should have a directory called /home/john/.storm/.

  2. Add the following settings to the /etc/storm/conf/storm.yaml configuration file:

    For HDP 2.2:

    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"

    For HDP 2.3:

    nimbus.seeds: <nimbus-host-array>
    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-array> is an array of hostnames running Nimbus (the value should come from /etc/storm/conf/storm.yaml). For example:

       nimbus.seeds: ["c6401.ambari.apache.org", "c6402.ambari.apache.org"]

As mentioned earlier, repeat these steps for every user who requires Storm access.