[ 
https://issues.apache.org/jira/browse/NIFI-6895?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Josef Zahner updated NIFI-6895:
-------------------------------
    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: 
{code:java}
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{code}
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}}:
{code:java}
<logger name="org.apache.kudu.client.AsyncKuduSession" level="ERROR"/>
{code}
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.

  was:
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:

 
{code:java}
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{code}
 

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}}:
{code:java}
<logger name="org.apache.kudu.client.AsyncKuduSession" level="ERROR"/>
{code}
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.


> PutKudu Processor Warnings - Applying an operation in a closed session; this 
> is unsafe
> --------------------------------------------------------------------------------------
>
>                 Key: NIFI-6895
>                 URL: https://issues.apache.org/jira/browse/NIFI-6895
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 1.10.0
>         Environment: Kudu 1.10.0; NiFi 1.10.0, OpenJDK 8 (232); 8 Node Cluster
>            Reporter: Josef Zahner
>            Priority: Major
>
> 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: 
> {code:java}
> 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{code}
> 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}}:
> {code:java}
> <logger name="org.apache.kudu.client.AsyncKuduSession" level="ERROR"/>
> {code}
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to