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]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

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