zhangkun created HDFS-16295:
-------------------------------

             Summary: datanode connect to namenode, datanode start can't 
resolved dns, rpc always exception when Handshake
                 Key: HDFS-16295
                 URL: https://issues.apache.org/jira/browse/HDFS-16295
             Project: Hadoop HDFS
          Issue Type: Improvement
          Components: datanode
    Affects Versions: 3.2.1
            Reporter: zhangkun


hadoop on k8s

i use k8s statefulset start hdfs DataNode and NameNode。

when dataNode start ,if can't resolved NameNode host,InetSocketAddress is 
unResolved。

Rpc request nameNode always throw unknowHostException

 

if after dataNode start, NameNode is started and Namenode is reachable, 
DataNode also can't reconnect to namenode

 

 

 

hadoop version:3.2.1

(code:

 

org.apache.hadoop.hdfs.server.datanode.BPServiceActor.retrieveNamespaceInfo()

bpNamenode.versionRequest();

 

RPC:

org.apache.hadoop.ipc.Client.Connection

the constructed function of class Connnection  will throw UnKnownHostExeception

)

 

 

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to