Member since
01-31-2024
2
Posts
3
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1539 | 02-02-2024 10:39 AM |
02-02-2024
10:39 AM
1 Kudo
yea I saw that post and finally got it to work by making sure I ran this command on Ubuntu to install venv: sudo apt install python3.11-venv After I ran that command, everything started up and stayed up normally for NIFI 2.0.0 M2.
... View more
01-31-2024
09:22 PM
1 Kudo
Hi - I've got everything working with NIFI 2.0.0 M2 when the the python command line is commented out but I'd like to get it up and running with the python command line uncommented. nifi.properties file line nifi.python.command=/usr/bin/python3.11 nifi-app.log info: Caused by: java.lang.IllegalStateException: Failed to communicate with Python Controller at org.apache.nifi.controller.FlowController.<init>(FlowController.java:581) at org.apache.nifi.controller.FlowController.createStandaloneInstance(FlowController.java:411) at org.apache.nifi.spring.FlowControllerFactoryBean.getObject(FlowControllerFactoryBean.java:83) at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:178) ... 95 common frames omitted Caused by: java.io.IOException: Failed to create Python Environment ./work/python/controller: process existed with code 1 at org.apache.nifi.py4j.PythonProcess.setupEnvironment(PythonProcess.java:223) at org.apache.nifi.py4j.PythonProcess.start(PythonProcess.java:102) at org.apache.nifi.py4j.StandardPythonBridge.start(StandardPythonBridge.java:78) at org.apache.nifi.components.ClassLoaderAwarePythonBridge.start(ClassLoaderAwarePythonBridge.java:52) at org.apache.nifi.controller.FlowController.<init>(FlowController.java:579) ... 98 common frames omitted 2024-01-31 23:02:46,788 INFO [Thread-0] org.apache.nifi.NiFi Application Server shutdown started 2024-01-31 23:02:46,788 INFO [Thread-0] org.eclipse.jetty.server.Server Stopped oejs.Server@44aa2e13{STOPPING}[12.0.5,sto=0] What am I doing wrong?
... View more
Labels:
- Labels:
-
Apache NiFi