[ https://issues.apache.org/jira/browse/RANGER-1242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Velmurugan Periasamy updated RANGER-1242: ----------------------------------------- Fix Version/s: 0.7.0 > Create storm service with error configurations, test connection should not be > successful. > ----------------------------------------------------------------------------------------- > > Key: RANGER-1242 > URL: https://issues.apache.org/jira/browse/RANGER-1242 > Project: Ranger > Issue Type: Bug > Components: admin > Reporter: Qiang Zhang > Assignee: Qiang Zhang > Priority: Minor > Fix For: 0.7.0 > > Attachments: 0001-RANGER-1242-TestConnectionForStormService.patch, > StormServiceTestConnection.jpg, StromTestConnection.log > > Original Estimate: 24h > Remaining Estimate: 24h > > Storm is in security mode with Kerberos Authentication, > Create storm service with error configurations in Ranger Admin with the > following configurations: > {noformat} > name=stormdev > username=storm > password=****** > nimbus.url=http://10.43.159.41:18080 > lookupprincipal=storm/zd...@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 > {noformat} > 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 > {noformat} > (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} > {noformat} > which means the result of "TestConnection" is failed in fact, but ranger > admin returns error message "ConnectionTest Successful". -- This message was sent by Atlassian JIRA (v6.3.4#6332)