Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 11-17-2016 05:50 AM
I wanted to be able to execute some hdfs shell commands. However, it gives the following error even for the normal file listing. Can you please suggest?
sh: ls -lrt: No such file or directory
Created 11-17-2016 06:01 AM
Hi Kumar,
You need to set the processor with the following properties
Command: /bin/ls
Arguments: -lrt
It is better to indicate an absolute path for the command.
If you want to indicate a path (example /my/directory) for your listing, that would be:
Command: /bin/ls
Arguments: -lrt|/my/directory
Because the delimiter is configured with | character based on your screenshot.
Hope this helps.
Created 11-17-2016 06:01 AM
Hi Kumar,
You need to set the processor with the following properties
Command: /bin/ls
Arguments: -lrt
It is better to indicate an absolute path for the command.
If you want to indicate a path (example /my/directory) for your listing, that would be:
Command: /bin/ls
Arguments: -lrt|/my/directory
Because the delimiter is configured with | character based on your screenshot.
Hope this helps.
Created 10-25-2017 08:15 AM
Hi Pierre, Can you help me on NIFI. NIFI installed on my windows laptop. I am trying to execute a .sh script which hosted on linux machine. Linux machine i can connect with user id and password. How i can do this using NIFI.