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.

folders created by nifi is not accessible

Highlighted

folders created by nifi is not accessible

New Contributor


Nifi running in HDF cluster is creating floder in HDFS cluster in HDP.

 

In HDFS(HDP) cluster when i give commoand hdfs dfs -ls /user

I am able to see the the folder created by nifi.

 

when i try to access that folder hdfs dfs -ls /user/IotTest

I get error message No such file or directory

 

Note: both HDP and HDF are running VMware in single machine

 

palaaniappan_0-1590919364485.png

 

[enter image description here][1]

Please find snapshot
[1]: https://i.stack.imgur.com/1aFAs.png

2 REPLIES 2

Re: folders created by nifi is not accessible

Master Collaborator

@palaaniappan Does the nifi user exist on the HDP Node?

 

If not, you could try to create the user.

 

Next sudo to the user and execute the HDFS Command.

 


 


If this answer resolves your issue or allows you to move forward, please choose to ACCEPT this solution and close this topic. If you have further dialogue on this topic please comment here or feel free to private message me. If you have new questions related to your Use Case please create separate topic and feel free to tag me in your post.  


 


Thanks,



Steven

Highlighted

Re: folders created by nifi is not accessible

Explorer

Hi @palaaniappan ,

According to your screenshot I suspect there are invisible characters (new-line, tab, space, etc.) present in the name of your folder - see how there is a new line present after your IoT folders, but no new-lines for other folders.

Please check your NiFi processors and make sure the file paths for creating the folders are correct. Sometimes when copy-pasting between different windows you might inadvertently paste some invisible characters as well.

Kind regards,

Julius

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