Hi,

I need more information on ExecuteProcess,below are the questions.


1)      What is the scope of the ExecuteProcess processor in Nifi?

2)      Can we use ExecuteProcess to execute shell script in remote server.
For example I wanted to delete the files in hadoop system file path using Nifi. 
so I have taken ExecuteProcess.

Filename:test_del.sh
Path:/tmp/test_del.sh
Content of the .sh  file is: "hadoop fs -rm /usr/dev/test_files/*"
Note: Nifi is installed in same instance.

In the property section of ExecuteProcess:
Command: bash
Command Arguments: :/tmp/test_del.sh

So I can achieve execution of .sh file in this way, lets say in the local 
machine.

Here my requirement is
None of those scripts are in the server where nifi is running. And, we cannot 
install nifi in any other place.
So how to do it for executing the shell script  in remote machine .
Is it possible with only ExecuteProcess or we can also use other processors to 
achieve this?
Please help me in this..

  Thanks in advance!!


Regards,
Sravani
This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient, you are not authorized 
to read, print, retain, copy, disseminate, distribute, or use this message or 
any part thereof. If you receive this message in error, please notify the 
sender immediately and delete all copies of this message.

Reply via email to