Created on 04-01-2018 02:23 AM - edited 08-17-2019 10:44 PM
I installed storm with ambari cluster and enabled kerberos. But I can not view storm ui, it returns 403 status. I find that in /etc/storm/2.6.3.0-235/0/storm_jaas.conf, it does not have config of storm ui, I can not find any content about spnego.service.keytab. And every time I change the storm_jaas.conf, it will be overwrite by ambari. The content is that:
StormServer { com.sun.security.auth.module.Krb5LoginModule required useKeyTab=true keyTab="/etc/security/keytabs/nimbus.service.keytab" storeKey=true useTicketCache=false principal="nimbus/am1.ics.com@ICS.COM"; }; StormClient { com.sun.security.auth.module.Krb5LoginModule required useKeyTab=true keyTab="/etc/security/keytabs/storm.headless.keytab" storeKey=true useTicketCache=false serviceName="nimbus" principal="storm-ics_bigdata@ICS.COM"; }; RegistryClient { com.sun.security.auth.module.Krb5LoginModule required useKeyTab=true keyTab="/etc/security/keytabs/storm.headless.keytab" storeKey=true useTicketCache=false principal="storm-ics_bigdata@ICS.COM"; }; com.sun.security.jgss.krb5.initiate { com.sun.security.auth.module.Krb5LoginModule required renewTGT=false doNotPrompt=true useKeyTab=true keyTab="/etc/security/keytabs/nimbus.service.keytab" principal="nimbus/am1.ics.com@ICS.COM" storeKey=true useTicketCache=false; }; Client { com.sun.security.auth.module.Krb5LoginModule required useKeyTab=true keyTab="/etc/security/keytabs/storm.headless.keytab" storeKey=true useTicketCache=false serviceName="zookeeper" principal="storm-ics_bigdata@ICS.COM"; }; KafkaClient { com.sun.security.auth.module.Krb5LoginModule required useKeyTab=true keyTab="/etc/security/keytabs/storm.headless.keytab" storeKey=true useTicketCache=false serviceName="kafka" principal="storm-ics_bigdata@ICS.COM"; };
But in the ambari storm config, it shows that in the image attached.
And the storm in ambari shows warning of supervisor that "Connection failed: [Errno 111] Connection refused to am3.ics.com:56431" all the time.
Who can help me about storm in ambari with kerberos enabled?
Created 04-01-2018 06:16 AM
You have to enable SPNEGO authentication to see the UI in kerberized environment. Please follow the steps mentioned in the doc.
.
-Aditya
Created on 04-02-2018 02:29 AM - edited 08-17-2019 10:44 PM
Hello, thank you for helping me. I have tried to follow the instructions in the guide book. But I still can not view storm ui, and besides the hadoop have the following warnings:
Could you please tell you what's wrong with it?