Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Execute Stream Command - NIFI

avatar
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

avatar

@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

View solution in original post

8 REPLIES 8

avatar

@budati 

What value is in the Argument Delimiter property ?

avatar
Explorer

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

 

 

avatar

@budati 

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

avatar
Explorer

@Wynner 

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

avatar

@budati

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

Just don't put the quotes, okay?

avatar
Explorer

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

avatar

@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

avatar

@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