Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Error while writing in PutHDFS

Error while writing in PutHDFS

New Contributor

I have an Process group which has various component.The last step is to put the data to HDFS using PutHDFS. I see this error in the HDFS step, can't figure out why this is happening. Here is the Screenshot to the same.

screenshot-from-2018-11-05-11-16-37.png

2 REPLIES 2

Re: Error while writing in PutHDFS

Your filename starts with a dot, I wonder if that is a hidden or temp file and perhaps can't be accessed by the Hadoop client. If that's not the case, is some other app deleting the contents of the data folder while you're trying to write to it? A Google search for that error implies that after/while a file is written, it has been deleted, then something tries to access it (NiFi's Hadoop client in this case).

Highlighted

Re: Error while writing in PutHDFS

New Contributor

Found the cause. I just had to generate unique file name and that fixed it.

Don't have an account?
Coming from Hortonworks? Activate your account here