Trying to upload file from Knime to HDFS

#1

Hi,

I am trying to upload file from local machine to HDFS using Knime, getting below error.

“execute failed:File /sandbox/knime/temp.csv could only be written to 0 of the 1 minReplication nodes. There are 1 datanodes(s) running and 1 node(s) are excluded in this operation”
BlockManager.java:2121

0 Likes

#2

Hi @shashank26s

your are probably using the HDFS Connection or webHDFS Connection node to connect? These KNIME nodes need to be able to connect to all DataNodes in the cluster, which apparently is not possible in your case. Is it possible for you to use the HttpFS Connection node instead? (note that it requires HttpFS to be running in your cluster).

Best,
Björn

0 Likes