Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Execute Stream Command - NIFI

Solved Go to solution
Highlighted

Execute Stream Command - NIFI

Explorer

Zip command is not working in Execute Stream Command but working in Execute Command. Please let me know what is wrong with the below.

 

Command Arguments 

 

-r -j /opt/nifi/nifi-1.9.2/data/print/CIF_206.zip /opt/nifi/nifi-1.9.2/data/print/CIF_206/

 

Command Path   

 

zip

 

Ingore STDIN 

 

true

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Execute Stream Command - NIFI

@budati 

If you cannot get the blank space in, then just go back to the default of ; and add it between the parameters in the Command Arguments property.


Screen Shot 2019-09-23 at 9.03.00 AM.png
8 REPLIES 8

Re: Execute Stream Command - NIFI

@budati 

What value is in the Argument Delimiter property ?

Re: Execute Stream Command - NIFI

Explorer

@Wynner ;  I left it to default, which seems to be  ;

 

 

Re: Execute Stream Command - NIFI

@budati 

Remove the semi-colon replace with a blank space and it should work for you.

Re: Execute Stream Command - NIFI

Explorer

@Wynner 

It is giving an error as shown below, i have also uploaded screenshots of configuration for reference.1.png2.png3.png

Re: Execute Stream Command - NIFI

@budati

Do not make the Argument Delimiter property an empty string, make it literally a blank space, " ".

Just don't put the quotes, okay?

Re: Execute Stream Command - NIFI

Explorer

If I make it blank and save, then it is defaulting to; maybe it is expecting a default value?

Re: Execute Stream Command - NIFI

@budati 

What is the version of NiFi?

I'm testing with 1.9 and it takes a blank space.

 


Screen Shot 2019-09-23 at 8.54.18 AM.png

Re: Execute Stream Command - NIFI

@budati 

If you cannot get the blank space in, then just go back to the default of ; and add it between the parameters in the Command Arguments property.


Screen Shot 2019-09-23 at 9.03.00 AM.png
Don't have an account?
Coming from Hortonworks? Activate your account here