Hi, The jython engine has been completely removed in NiFi 2.0 in favor of the new Python API allowing you to build NiFi components in Python. Only Clojure and Groovy are supported in NiFi 2.x.
Thanks, Pierre Le sam. 13 janv. 2024 à 18:47, Michael Byron <[email protected]> a écrit : > Dear Apache NiFi Developers, > > I hope this email finds you well. I am writing to bring to your attention > an issue I am encountering while working with the ExecuteScript processor > in Apache NiFi. I have outlined the problem and the steps I have taken to > address it below: > > Problem Description: > > I am trying to use the ExecuteScript processor. > I commented out the Python extension lines in the nifi.properties source > file as I do not want to use Python as an extension language. > When I ran the run-nifi batch file, I encountered an error. > Attempted Solutions: > > I noticed that I do not have a "bin" folder in my work repository. > To address this, I created a "bin" folder and placed my Python executable > in the "scripts" folder. I updated the link to the Python executable in the > nifi.properties file. > Despite these changes, the issue persisted. > I also changed "python3" to "python" in the nifi.properties file. > Subsequently, I set up the "bin" folder, and now NiFi launches > successfully. > Current Challenge: > > However, even though NiFi launches without errors, I am unable to select > Python as the script engine in the ExecuteScript processor. The available > options are limited to Clojure and Groovy. > Request for Assistance: > > I would appreciate any guidance or assistance you can provide in resolving > this issue. I have reviewed the documentation and community forums, but I > have not found a solution to this specific problem. > System Information: > > Apache NiFi Version: 2.0.0 M1 standard > Operating System: Windows > I appreciate your time and support in addressing this matter. If you > require any additional information or logs, please let me know. Thank you > in advance for your assistance. > > Best regards, > Michael > > >
