Support Questions

Find answers, ask questions, and share your expertise

apache nifi Using executeProcess with python script on docker

avatar
New Contributor

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 3

avatar
Community Manager

@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.


Regards,

Diana Torres,
Community Moderator


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community:

avatar
Master Mentor

@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

 

avatar
Community Manager

@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.


Regards,

Diana Torres,
Community Moderator


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community: