Support Questions
Find answers, ask questions, and share your expertise

ExecuteScript is not working properly in nfii 1.14.0

New Contributor


Can you please help me with this issue? 

 I was using nifi 1.10.0, ExecuteScript with python code... I was using the following imports with some python modules by adding Module Directory i.e. my python packages location. This was working fine in nifi 1.10.0 but not working in nifi 1.14.0. It's saying that the Jython engine is unable to initialize. 

from import OutputStreamCallback
from import InputStreamCallback
from org.python.core.util import StringUtil
from import IOUtils
from java.nio.charset import StandardCharsets
from import StreamCallback

import requests
from tzlocal import get_localzone
import pytz
My Questions---
1. Is ExecuteScript will not work using both Jython and Python modules in nifi 1.14.0?  
2. What is the alternate solution? 
3. I need both attribute and flow file content in python script. please suggest to me the best processor in nifi 1.14.0 for my requirement.