Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.10.0
-
None
-
None
-
Kudu 1.10.0; NiFi 1.10.0, OpenJDK 8 (232); 8 Node Cluster
Description
We have just upgraded from NiFi 1.9.2 to NiFi 1.10.0. We have seen that we got 1’000 times more logs (nifi-app.log) since the upgrade, caused mainly by the PutKudu processor.
The logmessages we are always getting are:
2019-11-21 08:42:27,627 WARN [Timer-Driven Process Thread-2] org.apache.kudu.client.AsyncKuduSession Applying an operation in a closed session; this is unsafe
The PutKudu processor itself seems to work fine.
The line of code which from Apache Kudu Client which reflects the message is here: (line 547):
https://github.com/apache/kudu/blob/master/java/kudu-client/src/main/java/org/apache/kudu/client/AsyncKuduSession.java
Since we are getting a huge amount of loglines we had to insert the following workaround in logback.xml:
<logger name="org.apache.kudu.client.AsyncKuduSession" level="ERROR"/>
Without suppressing the AsyncKuduSession messages we are getting multiple gigabytes of data per hour, but sadly with the workaround we don't see any PutKudu warnings anymore.
Can the dev's please check why we are getting the warning and fix the root cause? Thanks in advance.