curl - Error for REST API in nifi -




when start executestream prosessor src.bat file shows me execution code 0 doesn't stop processor , insede outputstream flowfile shows errors this:

  execution.error     % total % received % xferd average speed time time time current dload upload total spent left speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 299 0 0 100 299 0 1472 --:--:-- --:--:-- --:--:-- 1472 

i use commands this:

curl -x put --data-binary  "@c:\users\user\desktop\nifi-1.3.0\conf\stop.json" "http://localhost:8080/nifi-api/processors/ea5db028-015d-1000-5ad5-80fd006dda92" 

and json file this, should do?:

{   "status": {     "runstatus": "stopped"   },   "component": {     "state": "stopped",     "id": "f511a6a1-015d-1000-970e-969eac1e6fc5"   },   "id": "f511a6a1-015d-1000-970e-969eac1e6fc5",   "revision": {     "version": 30,     "clientid": "0343f0b9-015e-1000-7cd8-570f8953ec11"   } } 

i suspect if curl reporting progress somehow output/process reporting strangely nifi. perhaps try "silent" option curl command (see documentation how enable that, it's -s flag)





wiki

Comments

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -