Description
Storm is in security mode with Kerberos Authentication,
Create storm service with error configurations in Ranger Admin with the following configurations:
name=stormdev username=storm password=****** nimbus.url=http://10.43.159.41:18080 lookupprincipal=storm/zdh41@ZDH.COM lookupkeytab=/home/storm/apache-storm-1.0.1/conf/storm.keytab namerules=RULE:[2:$1@$0]([jt]t@.*ZDH.COM)s/.*/$MAPRED_USER/ RULE:[2:$1@$0]([nd]n@.*ZDH.COM)s/.*/$HDFS_USER/DEFAULT
then click "TestConnection", the result is "ConnectionTest Successful",
modify lookupprincipal to errorPrincipalName, and click "TestConnection" again,
the result is still "ConnectionTest Successful".
Also in creating policies for storm service which created above,
the autocomplete for "Storm Topology" is unable to work correctly.
To check ranger_admin.log and find the error log
(StormClient.java:186) - Unable to get Topology list from [http://10.43.159.41:18080] ...... (StormResourceMgr.java:49) - <== StormResourceMgr.validateConfig Result : {message=ConnectionTest Successful, connectivityStatus=true, objectId=null, description=ConnectionTest Successful, fieldName=null}
which means the result of "TestConnection" is failed in fact, but ranger admin returns error message "ConnectionTest Successful".