Support Questions
Find answers, ask questions, and share your expertise

Not able to load data from local to hdfs file thorugh nifi

Not able to load data from local to hdfs file thorugh nifi

New Contributor

hortonworks sandbox enviornment is set in one docker and Nifi is running in another container, Trying to put the file from local to hdfs

used GETFILE processor to get file from local and PUTHDFS for putting the file in to hdfs

Getting below error

PutHDFS[id=0164102a-349b-1def-8450-f0b1cf8d552b] Failed to write to HDFS due to java.io.IOException: /lake could not be created: /lake could not be created
1 REPLY 1
Highlighted

Re: Not able to load data from local to hdfs file thorugh nifi

Hi @dinesh aj !
Try to create this directory on HDFS manually, and add full permission

hdfs dfs -chmod -R 777 /lake

And make the test again :)
Hope this helps