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

[NIFI] : executeStreamCommand issue


[NIFI] : executeStreamCommand issue

New Contributor

Hi all,

It seems that executeStreamCommand don't delete flowFile.

The script bash worked but the queue will not empty after successful execution of script




Re: [NIFI] : executeStreamCommand issue

New Contributor

Re: [NIFI] : executeStreamCommand issue

Super Guru

Dont do a curl

Use GetHTTP or InvokeHTTP those work perfect.

Most likely permissions, make sure the nifi user can run that script. make sure it's the right path.

run that script from the command line, su to the nifi user and put in the full path. then check logs

check the logs and data provenance.

i use executestreamcommand for calling Python and TensorFlow.

Make sure whatever you call is wrapped in a shell script and that it has execute permissions.

Don't call a Hive Script. Use The Execute HiveQL

Re: [NIFI] : executeStreamCommand issue

New Contributor


Il have to make a curl to retrieve the data from an API. And to connect to this API I need first to make a curl to retrieve token and digest, these parameters do not exist in Nifi http processor.

Don't have an account?
Coming from Hortonworks? Activate your account here