Configuring Authentication with Kerberos
Also available as:
PDF
loading table of contents...

Running Workers as Users

In Storm secure mode, workers can run as the user (owner of the topology) who deployed the topology. This topic describes how to enable this.

  1. Make sure all users who are going to deploy topologies have a UNIX account on all of the Storm nodes. Workers will run under the UNIX account for topologies deployed by the user.

    For user testuser1 and principal testuser1/c6401.ambari.apache.org, make sure there is a corresponding testuser1 UNIX account.

  2. Add the following configuration under "Custom storm-site" in the Ambari Storm configuration screen: supervisor.run.worker.as.user : true.
  3. Restart Storm components.