1

I am having CDH virtual box running on my windows 10. I am running simple talend job, which has only component to put file on HDFS (tHDFSPut) from windows to HDFS which is located in virtual box. But when I run the job the file is created on HDFS but it is empty.

I am getting following error,

org.apache.hadoop.ipc.RemoteException(java.io.IOException): File /user/cloudera/test/Input.xml 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:1716)

I checked, namenode is healthy and it is having sufficient disk space available, also I can able to access it outside the virtual box using localhost:50070

Need help!

Vish
  • 186
  • 3
  • 17
  • Restart all services and try again – Mobin Ranjbar Mar 10 '18 at 16:40
  • I tried restarting namenode,secondarynamenode and datanode. But problem still persist. – Vish Mar 10 '18 at 17:28
  • 1
    `1 node(s) are excluded in this operation` means there is an error with the namenode communicating to the datanode. Cloudera Manager should be saying something is unhealthy – OneCricketeer Mar 11 '18 at 02:02
  • When I try to put file within the virtual box using '-put' command, it works. So I don't think that is the problem. – Vish Mar 11 '18 at 04:17

0 Answers0