Skip to main content
abdullahvvs
Bronze ⭐️⭐️⭐️
August 16, 2023
Question

apache nifi Using executeProcess with python script on docker

Hi 

 

Im beginner to apache nifi basics but i've managed to run the processor and execute the script on NIFI locally ,but now i'm using apache nifi on docker so the problem that when I put the path to python environment it said the file not exist , note that apache nifi and python all are on containers and within the same network so i dont why its not working 

abdullahvvs_0-1692189897253.png

 

3 replies

DianaTorres
Community Manager
Community Manager
August 16, 2023

@abdullahvvs Welcome to the Cloudera Community!

To help you get the best possible solution, I have tagged our NiFi experts @SAMSAL @MattWho  who may be able to assist you further.

Please keep us updated on your post, and we hope you find a satisfactory solution to your query.

Translate
Regards, Diana Torres, Senior Community Moderator
MattWho
Titanium ⭐️⭐️⭐️
Titanium ⭐️⭐️⭐️
August 17, 2023

@abdullahvvs 

What exceptions are you seeing in the nifi-app.log when this processor gets scheduled to execute?
Does your NiFi service user have ability to execute python3?
Does your NiFi service user have ability to travers the directory tree and read /opt/nifi/nifi-current/Testxx.py?

If you found that the provided solution(s) assisted you with your query, please take a moment to login and click Accept as Solution below each response that helped.

Thank you,

Matt

 

Translate
DianaTorres
Community Manager
Community Manager
August 21, 2023

@abdullahvvs Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future. Thanks.

Translate
Regards, Diana Torres, Senior Community Moderator