Skip to main content
mickt
Silver ⭐️⭐️
August 11, 2021
Solved

Nifi 1.14 PutHDFS Issue

Hi, We have recently upgraded Nifi to 1.14 and are now receiving this error when trying to write to HDFS.

"Failed to write to HDFS due to java.lang.NoClassDefFoundError: com/fasterxml/jackson/annotation/JsonIncludeProperties: java.lang.ClassNotFoundException: com.fasterxml.jackson.annotation.JsonIncludeProperties
↳ causes: java.lang.NoClassDefFoundError: com/fasterxml/jackson/annotation/JsonIncludeProperties"

I have checked and all the jackson libraries are there. If anyone has any ideas it would be very much appreciated .

MattWho
MattWhoAnswer
Titanium ⭐️⭐️⭐️
August 13, 2021

@mickt 

I looks as though you may be hitting:
https://issues.apache.org/jira/browse/NIFI-8938

This issue was introduced via a change that was introduced as part of NiFi 1.14:
https://issues.apache.org/jira/browse/NIFI-8723

If you found this response addressed your query, please take a moment to login and click "Accept as Solution".

Thank you,

Matt

5 replies

MattWho
Titanium ⭐️⭐️⭐️
MattWhoAnswer
Titanium ⭐️⭐️⭐️
August 13, 2021

@mickt 

I looks as though you may be hitting:
https://issues.apache.org/jira/browse/NIFI-8938

This issue was introduced via a change that was introduced as part of NiFi 1.14:
https://issues.apache.org/jira/browse/NIFI-8723

If you found this response addressed your query, please take a moment to login and click "Accept as Solution".

Thank you,

Matt

Translate
mickt
micktAuthor
Silver ⭐️⭐️
August 13, 2021

Hi Matt,

Thank you for your response. If I am reading the issues correctly this fix will not be deployed until version 1.15 is released?

Translate
MattWho
Titanium ⭐️⭐️⭐️
Titanium ⭐️⭐️⭐️
August 13, 2021

@mickt 

 

Correct....
This recent bug fix is fixed in the current master and will be part of the next Apache NiFi 1.15 release.

 

Translate