Support Questions

Find answers, ask questions, and share your expertise

Nifi PutHDFS

avatar
Expert Contributor

Hello

I am trying to use the PutHDFS processor to push files into my hadoop cluster. I have a folder called CF in the root of my HDFS to which i want to push these files through the nifi processor.

What should i put in the Directory property of the nifi processor? I was advised i should put the fully qualified path of my folder. If the CF folder is in the root of HDFS, what would my fully qualified path be?

Thanks

1 ACCEPTED SOLUTION

avatar

Hi @Ahmad Debbas,

I am not sure the fully qualified path is needed, you could try with /CF.

Otherwise, a full path would be something like <fs.defaultFS>/CF where <fs.defaultFS> is a property you have in your core-site configuration file (which is needed by the processor).

Also take care of the rights: the user running NiFi must have write access into your folder.

Hope this helps.

View solution in original post

2 REPLIES 2

avatar

Hi @Ahmad Debbas,

I am not sure the fully qualified path is needed, you could try with /CF.

Otherwise, a full path would be something like <fs.defaultFS>/CF where <fs.defaultFS> is a property you have in your core-site configuration file (which is needed by the processor).

Also take care of the rights: the user running NiFi must have write access into your folder.

Hope this helps.

avatar
Expert Contributor

thank you it worked!