Created 12-07-2018 01:15 PM
Hi,
I am struggling with an error. I am trying to write a file on HDFS from NiFi but its failing with error below. I am using Hortonworks Sandbox(HDP) and NiFi(HDF) both hosted on ESXi server.
Caused by: org.apache.hadoop.ipc.RemoteException: File /user/nifi/.temp1.txt 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.
Checklist:
1. Lot of space available in DFS, means HDFS health is in good state. I am able to execute hadoop fs -put <filename> /tmp and write considerable file of good size onto HDFS.
2. Property set to true <property> <name>dfs.client.use.datanode.hostname</name> <value>true</value> </property>
3. hdfs-site.xml,core-site.xml copied to HDF
4. HDP hostname entry copied to /etc/hosts on NiFi Machine
Created 12-11-2018 09:57 AM
Anyone who has encountered a similar problem. I noticed that Nifi is also not able to read data also(through GetHDFS). The problem which I am anticipating is Nifi Client is able to connect to NameNode but its not able to connect to Data Node since NameNode sends it a invalid private address (I am using using Hortonworks Sandbox) and that's why NiFi client is unable to read/write data from HDP
Created 10-31-2024 11:05 PM
Dear have you solved this problem? i am also facing exactly the same problem, please help
Created 11-01-2024 09:37 AM
@ehsan125 As this is an older post, you would have a better chance of receiving a resolution by starting a new thread. This will also be an opportunity to provide details specific to your environment that could aid others in assisting you with a more accurate answer to your question. You can link this thread as a reference in your new post. Thanks.
Regards,
Diana Torres,