You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Qiang Zhang (JIRA)" <ji...@apache.org> on 2016/12/06 05:27:58 UTC
[jira] [Updated] (RANGER-1242) Create storm service with error
configurations, test connection should not be successful.
[ https://issues.apache.org/jira/browse/RANGER-1242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Qiang Zhang updated RANGER-1242:
--------------------------------
Attachment: StromTestConnection.log
StormServiceTestConnection.jpg
> 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
> Attachments: 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/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
> {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)