Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

NiFi replacing 'datetime' class with a java class

Highlighted

NiFi replacing 'datetime' class with a java class

New Contributor

In the Jython processor called by NiFi for some reason the class datetime (http://www.jython.org/docs/library/datetime.html) is replaced with a call for java.sql.Timestamp, resulting in the following error when trying to use a script handling dates:

99471-nifierror.png

Is that on purpose? Or is it a bug?

99470-nifierror.png

1 REPLY 1

Re: NiFi replacing 'datetime' class with a java class

New Contributor

Note: I've found out that this behaviour exists only when using ExecuteScript. It's absent when using InvokeScriptedProcessor.

Don't have an account?
Coming from Hortonworks? Activate your account here