kim created PHOENIX-2581:
----------------------------

             Summary: 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.6.0, 4.5.0
         Environment: Apache Hadoop2.7.1   and NameNode HA
Hbase0.98.12
Centos6.5


            Reporter: kim
             Fix For: 4.7.0


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