ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kalexin Baoerjiin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (RANGER-988) In namenode HA enabled HDFS cluster, Ranger connection test fails if the name of the name service is used in Namenode URL.
Date Thu, 19 May 2016 20:27:12 GMT
Kalexin Baoerjiin created RANGER-988:
----------------------------------------

             Summary: In namenode HA enabled HDFS cluster, Ranger connection test fails if
the name of the name service is used in Namenode URL.
                 Key: RANGER-988
                 URL: https://issues.apache.org/jira/browse/RANGER-988
             Project: Ranger
          Issue Type: Bug
          Components: Ranger
    Affects Versions: 0.5.0
            Reporter: Kalexin Baoerjiin


When connecting to a namenode high availability enabled HDFS cluster (with kerberos enabled)
when the name of namenode is used in Namenode URL, test connection fails.  

{code}
2016-05-19 13:23:53,131 [timed-executor-pool-0] DEBUG org.apache.ranger.services.hdfs.RangerServiceHdfs
(RangerServiceHdfs.java:52) - <== RangerServiceHdfs.validateConfig Service: (hdp_240_hadoop
)
2016-05-19 13:23:53,132 [timed-executor-pool-0] DEBUG apache.ranger.services.hdfs.client.HdfsResourceMgr
(HdfsResourceMgr.java:42) - <== HdfsResourceMgr.testConnection ServiceName: hdp_240_hadoopConfigs{username=platfora@PLATFORA.COM,
password=platfora, fs.default.name=hdfs://nameservice1:8020, hadoop.security.authorization=true,
hadoop.security.authentication=kerberos, hadoop.security.auth_to_local=RULE:[1:$1@$0](ambari-qa-hdp_240@PLATFORA.COM)s/.*/ambari-qa/RULE:[1:$1@$0](ambari-qa-hdp_2dot3@PLATFORA.COM)s/.*/ambari-qa/RULE:[1:$1@$0](hbase-hdp_240@PLATFORA.COM)s/.*/hbase/RULE:[1:$1@$0](hbase-hdp_2dot3@PLATFORA.COM)s/.*/hbase/RULE:[1:$1@$0](hdfs-hdp_240@PLATFORA.COM)s/.*/hdfs/RULE:[1:$1@$0](hdfs-hdp_2dot3@PLATFORA.COM)s/.*/hdfs/RULE:[1:$1@$0](spark-hdp_240@PLATFORA.COM)s/.*/spark/RULE:[1:$1@$0](spark-hdp_2dot3@PLATFORA.COM)s/.*/spark/RULE:[1:$1@$0](.*@PLATFORA.COM)s/@.*//RULE:[2:$1@$0](amshbase@PLATFORA.COM)s/.*/ams/RULE:[2:$1@$0](amszk@PLATFORA.COM)s/.*/ams/RULE:[2:$1@$0](dn@PLATFORA.COM)s/.*/hdfs/RULE:[2:$1@$0](hbase@PLATFORA.COM)s/.*/hbase/RULE:[2:$1@$0](hive@PLATFORA.COM)s/.*/hive/RULE:[2:$1@$0](jhs@PLATFORA.COM)s/.*/mapred/RULE:[2:$1@$0](jn@PLATFORA.COM)s/.*/hdfs/RULE:[2:$1@$0](nfs@PLATFORA.COM)s/.*/hdfs/RULE:[2:$1@$0](nm@PLATFORA.COM)s/.*/yarn/RULE:[2:$1@$0](nn@PLATFORA.COM)s/.*/hdfs/RULE:[2:$1@$0](rm@PLATFORA.COM)s/.*/yarn/RULE:[2:$1@$0](yarn@PLATFORA.COM)s/.*/yarn/DEFAULT,
dfs.datanode.kerberos.principal=dn/hadoop2.auto.platfora.com@PLATFORA.COM, dfs.namenode.kerberos.principal=nn/hadoop2.auto.platfora.com@PLATFORA.COM,
dfs.secondary.namenode.kerberos.principal=nn/hadoop2.auto.platfora.com@PLATFORA.COM, hadoop.rpc.protection=authentication,
commonNameForCertificate=}
2016-05-19 13:23:53,132 [timed-executor-pool-0] INFO  org.apache.ranger.plugin.client.BaseClient
(BaseClient.java:100) - Init Login: using username/password
2016-05-19 13:23:53,208 [timed-executor-pool-0] DEBUG apache.ranger.services.hdfs.client.HdfsClient
(HdfsClient.java:152) - <== HdfsClient listFilesInternal Error : java.lang.IllegalArgumentException:
java.net.UnknownHostException: nameservice1
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message