am trying to write data into hdp data lake using java api from windows machine. but am getting the fallowing exception.file could only be replicated to 0 nodes instead of minReplication (=1). There are 1 datanode(s) running and 1 node(s) are excluded in this operation. at org.apache.hadoop.hdfs.server.blockmanagement.BlockManager.chooseTarget4NewBlock(BlockManager.java:1640)
I have single node cluster , data node as enough space. am assuming some how from my machine am unable to connect to data node private ip provided by namenode. can some one provide guidence on this.
@Artem Ervits am able to perform operations like list where only interaction with name node is enough. But when am trying to use read/write where datanode interaction needs an getting fallowing error. Btw yes am using public ip only.,
@Artem Ervits I am able to connect to cluster and perform operations like list . But when am trying to do write/read operations then am getting fallowing error. My assumption is am able to connect to Name mode but not with datannode from my client.