Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 06-30-2017 12:07 PM
When we submit Storm toplogy as any user, it always goes as strom user I guess impersonation is not happening.
Created 06-30-2017 12:50 PM
You need to configure storm_jaas.conf with client properties, and pass to storm topology
storm_jaas.conf
StormClient {
com.sun.security.auth.module.Krb5LoginModule required
useKeyTab=true
keyTab="/etc/security/keytabs/hdfs.headless.keytab"
storeKey=true
useTicketCache=false
serviceName="nimbus"
principal="[email protected]";
};
Client {
com.sun.security.auth.module.Krb5LoginModule required
useKeyTab=true
keyTab="/etc/security/keytabs/hdfs.headless.keytab"
storeKey=true
useTicketCache=false
serviceName="zookeeper"
principal="[email protected]";
};
And pass jaas file with -c option
storm jar /usr/hdp/current/storm-client/contrib/storm-starter/storm-starter-*-jar-with-dependencies.jar storm.starter.WordCountTopology wordcount -c java.security.auth.login.config=/my/custom/jaas/path
Let me know if it helps!
Created 06-30-2017 12:50 PM
You need to configure storm_jaas.conf with client properties, and pass to storm topology
storm_jaas.conf
StormClient {
com.sun.security.auth.module.Krb5LoginModule required
useKeyTab=true
keyTab="/etc/security/keytabs/hdfs.headless.keytab"
storeKey=true
useTicketCache=false
serviceName="nimbus"
principal="[email protected]";
};
Client {
com.sun.security.auth.module.Krb5LoginModule required
useKeyTab=true
keyTab="/etc/security/keytabs/hdfs.headless.keytab"
storeKey=true
useTicketCache=false
serviceName="zookeeper"
principal="[email protected]";
};
And pass jaas file with -c option
storm jar /usr/hdp/current/storm-client/contrib/storm-starter/storm-starter-*-jar-with-dependencies.jar storm.starter.WordCountTopology wordcount -c java.security.auth.login.config=/my/custom/jaas/path
Let me know if it helps!
Created 08-28-2017 09:55 PM
in your /home/<user>/.storm/storm.yaml file,need to specify following property
supervisor.run.worker.as.user : true