Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Apache NIFI 2.0 Execute script: Script failing as ECMA engine is depreciated how to resolve what's the alternative

avatar
New Contributor

We have some execute script processor that supports ECMA engine in NIFI 1.20 now we are migrating to NIFI 2.0 and since ECMA engine is depreciated how do we convert the script to closure or groovy or any other alternatives methods

3 REPLIES 3

avatar
Community Manager

@SAMjam, Welcome to our community! To help you get the best possible answer, I have tagged in our NiFi experts @SAMSAL @MattWho @TimothySpann  who may be able to assist you further.

Please feel free to provide any additional information or details about your query, and we hope that you will find a satisfactory solution to your question.



Regards,

Vidya Sargur,
Community Manager


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 Guru

You can write Python processors.  There is no autoconverter and never will be.

You can export JavaScript files and run via JDK Nashorn directly like

jjs testllm.js

You can run as NodeJS and call via REST

 

 

avatar
Master Guru

https://community.cloudera.com/t5/Support-Questions/ExecuteScript-error-ECMAScript-is-missing/m-p/34...

Nashorn is removed from JDK 15, NiFi 2 uses JDK 21

Keep an old JDK 8 to run