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
@Wynner

I resolved my issue because in fact i have 3 environments, and i was ponting the listProcessor to the wrong environment.

I have my local file system Windows 8.1, with VirtualBox, running CentOS 7, and on top of CentOS i have the sandbox, and i was pointing my folder to the CentOS layer.

My /media/sf_SharedFolder was placed in CentOS and not in sandbox. I have to thank you for your help.

View solution in original post

25 REPLIES 25

avatar
@Francisco Pires

I am a little confused. Are you able to get a listing of the shared drive with ListFile?

avatar
Rising Star

@Wynner Not yet.. my shared folder in CentOS is: /media/sf_SharedFolder and still says directory not exist

avatar

@Francisco Pires

Are you able to get a listing from the command line?

What happens when you do ls -al /media/sf_SharedFolder ?

avatar
Rising Star

@Wynner<

With that command shows me the files inside /media/sf_SharedFolder

avatar
Rising Star

@Wynner

Replying your question

If you put that path, /media/sf_SharedFolder, in the Input Directory property for the ListFile processor, does it get a listing of files?

Still not working with that path in Input Directory

avatar
@Francisco Pires

What error are you seeing with that path?

avatar
Rising Star
@Wynner

The error i'm seeing:

15328-error.png

avatar

@Francisco Pires

Okay, run this command "df -h" what is returned?

avatar
Rising Star

@Wynner

Here is the result:

15330-dfh.png

avatar
@Francisco Pires

Try using one of the other directories to see if it works, like /var/logs. See if the processor will accept it.