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

Error while writing in PutHDFS

Explorer

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

Super Guru

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).

Explorer

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

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.