Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

ExecuteSQL Unsupported field: YearOfEra

avatar
Explorer

Hello!

NiFi version - 2.5.0

Java - 21

When trying to run ExecuteSQL processor i'm getting error:

blackboks_0-1765382662743.png

What does it mean and where is this unsupported field located? 

Log:

blackboks_1-1765382745262.png

It's something wrong with java or nifi or whole system?

Please, help me to figure it out

 

1 ACCEPTED SOLUTION

avatar
Explorer

@vafs thank you for the reply, in fact the problem was in logback.xml file, not sure in what part of it exactly, but when i'm replaced is from another worked server, make changes in paths and restart Nifi the ExecuteSQL processor start to work as expected

View solution in original post

2 REPLIES 2

avatar
Master Collaborator

Hello @blackboks, 

Thanks for being part of our community. 

That error you're facing looks like it's from Java side, not from NiFi. 
This appears when no timezone information is provided during the request. 

Maybe these two forums can help you find where in your query is missing that: 
https://java2blog.com/format-instant-to-string-java/
https://stackoverflow.com/questions/25229124/unsupportedtemporaltypeexception-when-formatting-instan... 


Regards,
Andrés Fallas
--
Was your question answered? Please take some time to click on "Accept as Solution" below this post.
If you find a reply useful, say thanks by clicking on the thumbs-up button.

avatar
Explorer

@vafs thank you for the reply, in fact the problem was in logback.xml file, not sure in what part of it exactly, but when i'm replaced is from another worked server, make changes in paths and restart Nifi the ExecuteSQL processor start to work as expected