Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Nifi ListFile Processor

avatar
Rising Star

Hello guys,

I'm having trouble passing the input directory in configuration of ListFile Processor.

Says that directory is invalid or does not exist.

I want' to list files in my local file system in C drive and the folder is SNIRH.

Here is the pic:

15298-nifi.png

Thanks

1 ACCEPTED SOLUTION

avatar
Rising Star
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login
25 REPLIES 25

avatar
Rising Star

@Wynner with /var/log works! So, why doesn't work with mu shared folder...?

do you think that can be related to this error:

15354-utcerror.png

avatar

@Francisco Pires

No, that error has nothing to do with the issue for the ListFile processor.

Maybe it has something to do with the mixed case, I am not sure since I don't have a CentOS 7 VirtualBox VM. Try changing the case to all lower case and no underscores for the mounted partition name and see if that makes a difference.

avatar

@Francisco Pires

I was able to use the sf_SharedFolder path name, so that is not the issue.

Will you take snapshot of the property Input Directory with the current configuration?

The only time I am able to reproduce the error you are seeing is when I add a blank space before or after the path or when I add a carriage return in the property. Make sure there is only a single line in the property value.

avatar
@Francisco Pires

Try clearing your browser cache or try deleting the processor and dropping a new ListFile processor on the graph. What version of HDF are you running?

Here is my environment where it works just fine. I am running CentOS 7.3 in VirtualBox 5.1.22 on MacOS Sierra, HDF 2.1.2.

15378-screen-shot-2017-05-13-at-101752-am.png

15379-screen-shot-2017-05-13-at-101832-am.png

avatar
Rising Star

@Wynner

I tried yesterday changing the name without '_' and lowered the path but still not working.

Here is the current config. of my processor:

15377-processor-nifi.png

avatar
Rising Star
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login