Created on 05-11-2017 10:57 AM - edited 08-17-2019 06:10 PM
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:
Thanks
Created 05-21-2017 10:15 AM
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.
Created 05-11-2017 12:23 PM
Make sure there are no blank spaces in front of the directory path in the property.
Created 05-11-2017 01:26 PM
No blank spaces afer the directory @Wynner
Created 05-11-2017 01:28 PM
What about in front of your directory property value "C:\SNIRH"?
Can you attach a template of this configured processor?
Created 05-11-2017 01:50 PM
Here is the template @Matt Clarke
Created 05-11-2017 02:15 PM
What version of Windows are you using?
Created 05-11-2017 02:17 PM
Created 05-11-2017 02:28 PM
Did you share the C: drive with the CentOS 7 VM? Also, when the mapping for a local drive in CentOS will not be in the windows format, it will be more like a CentOS drive, so it will look like /cdrive or whatever name you give it when you configure it in VirtualBox.
Created 05-11-2017 03:41 PM
If you put that path, /media/sf_SharedFolder, in the Input Directory property for the ListFile processor, does it get a listing of files?
Created 05-11-2017 02:54 PM
I'm a bit confused. I have a shared folder yes, but it's not C: drive. It's a folder between CentOS and my local file system (Windows). From what i understood, if i put the files in my shared directory i just have to pass that path to the nifi processor in a CentOS way. What i'm confusing now is the HDFS and my sharefolder. Suppose i wan't to have that folder visible in my HDFS it is possible? (Example, in hive instead of picking the file from local, picking the file form HDFS path)