Java Api access HDFS error

Failed to connect to /192.168.1.1:50010 for block, add to deadNodes and continue. java.net.ConnectException: Connection timed out: no further information

Initially determined that the cluster IP mapping problem, the CM HDFS open configuration, modified as follows:
open configuration
(1) NameNode bound to the wildcard address
(2) bound to the wildcard address DataNode
Here Insert Picture Description
open configuration
(3) using the host name DataNode
Here Insert Picture Descriptionrestart HDFS assembly, Download the latest configuration file, the file can be downloaded again Hdfs.

Published 118 original articles · won praise 25 · Views 150,000 +

Guess you like

Origin blog.csdn.net/lhxsir/article/details/89881463