[ 
https://issues.apache.org/jira/browse/PHOENIX-2581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15113924#comment-15113924
 ] 

James Taylor commented on PHOENIX-2581:
---------------------------------------

To my knowledge, Phoenix should work fine with NameNode HA. Can you confirm 
[~enis], [~rajeshbabu], or [~ndimiduk]? My guess is that it's a 
configuration/environmental issue on your end.

> phoenix don't support NameNode HA connection Hbase 
> ---------------------------------------------------
>
>                 Key: PHOENIX-2581
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2581
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.5.0, 4.6.0
>         Environment: Apache Hadoop2.7.1   and NameNode HA
> Hbase0.98.12
> Centos6.5
>            Reporter: kim
>              Labels: patch
>
> my hadoop cluster have a Availability NameNode HA , it is a good thing ! but
> when i use phoenix4.6.0 and phoenix 4.5.0 connection hbase  , it is  alaways 
> thorows Exception ,  please attention ns1 is my nameservices, but phoenix 
> seems like as a url  , why ?   when i use phoenix4.2.2 to connection hbase 
> ,it is normal  ,   this is may be a serious bug ,  if not ,please tell me 
> reason , thanks for everyone ! 
> Caused by: java.lang.IllegalArgumentException: java.net.UnknownHostException: 
> ns1
>         at 
> org.apache.hadoop.security.SecurityUtil.buildTokenService(SecurityUtil.java:418)
>         at 
> org.apache.hadoop.hdfs.NameNodeProxies.createNonHAProxy(NameNodeProxies.java:231)
>         at 
> org.apache.hadoop.hdfs.NameNodeProxies.createProxy(NameNodeProxies.java:139)
>         at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:510)
>         at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:453)
>         at 
> org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:136)
>         at 
> org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2433)
>         at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:88)
>         at 
> org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2467)
>         at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2449)
>         at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:367)
>         at org.apache.hadoop.fs.Path.getFileSystem(Path.java:287)
>         at 
> org.apache.hadoop.hbase.util.DynamicClassLoader.<init>(DynamicClassLoader.java:104)
>         at 
> org.apache.hadoop.hbase.protobuf.ProtobufUtil.<clinit>(ProtobufUtil.java:204)



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

Reply via email to