Created 10-22-2016 12:32 AM
We enabled kerberos on the cluster, have enabled HA for nimbus and created the kerberos ticket on the commandline in the edgenode with appropriate rights in ranger for the principal. when running a sample topology of wordcount in this manner storm jar myStorm-0.0.1-SNAPSHOT.jar com.storm.test.myStorm.helloStorm /home/BBattin/storm_test/input.txt
we are getting the following error
Exception in thread "main" java.lang.RuntimeException: Could not find leader nimbus from seed hosts [localhost]. Did you specify a valid list of nimbus hosts for config nimbus.seeds at backtype.storm.utils.NimbusClient.getConfiguredClientAs(NimbusClient.java:90) at backtype.storm.StormSubmitter.submitTopologyAs(StormSubmitter.java:225) at backtype.storm.StormSubmitter.submitTopology(StormSubmitter.java:271) at backtype.storm.StormSubmitter.submitTopology(StormSubmitter.java:157) at com.storm.test.myStorm.helloStorm.main(helloStorm.java:24)
please help
Created 10-26-2016 08:39 AM
please review information in this doc
Add the following settings to the /etc/storm/conf/storm.yaml
configuration file:
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"]
Created 11-03-2016 01:23 AM
@Artem Ervits, this solution still give me the same issue. Also I have these changes on the edge node. That is correct right?
@brahmasree b did you find solution to this question? if so can you please post
Created 05-23-2018 09:24 AM
Connect to zookeeper and delete the znode dir related to storm service and restart both "zookeeper" and "storm" service.
/usr/hdp/current/zookeeper-server/bin/zkCli.sh -server <hostname>:2181 [zk: <hostname>:2181(CONNECTED) 0]ls / [zk: <hostname>:2181(CONNECTED) 0]rmr /storm