Hi,

My flow like below

listdatabasetables->executesql->streamcommand

streamcommand i am using "ne.sh" script to write the count and tablename.

""""ne.sh"""""
#!/bin/sh
echo $1" : "$2 >> /home/nifi/neurocount.txt
exit 0


the data is written to txt file but always i am getting error as stream
closed.

Exact exception:
write flow file stdin due to -> java.io.exception broken pipe
java.lang.unixprocess ->java.io.exception stream closed

can you please help to solve this.



-- 
Selvam Raman
"லஞ்சம் தவிர்த்து நெஞ்சம் நிமிர்த்து"

Reply via email to