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.

PutHDFS not writing a file to HDFS

PutHDFS not writing a file to HDFS

New Contributor

Hi,

I am reading a file from SandBox using GetFile and trying to write it onto HDFS. PutHDFS reads the file but it shows write bytes are zero. I looked into lo and there is no error or warning.

Below is the configuration of my PutHDFS:

15351-puthdfs.png

2 REPLIES 2

Re: PutHDFS not writing a file to HDFS

@Muhammad Umar

Try putting the full path to your HDFS directory.

Re: PutHDFS not writing a file to HDFS

Super Guru

Make sure the directory exists

Make sure you have permission.

Put full path to configuration files, make sure they are readable from nifi user

try to manually create a file there.

if it's all the same named file, replace will just keep overwriting

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