1

I try to use ExecuteStreamCommand processor in Apache Nifi in order to execute a simple Python Script.

Here is the python script:

import pandas as pd
import sys
file = pd.read_json(sys.stdin)
file.to_json(sys.stdout)

Here is the processor configuration: Processor configuration

I have the error: Error

I don't know where I am wrong.

1
  • Command - should be python, and argument - path to py file. Commented Nov 26, 2022 at 11:33

1 Answer 1

1

Here’s what you can do: Add the full path to the Python command in the Command Argument space, and provide the full path to the script under command arguments. This will work.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.