[
https://issues.apache.org/jira/browse/NIFI-2337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15396319#comment-15396319
]
ASF GitHub Bot commented on NIFI-2337:
--------------------------------------
GitHub user markap14 opened a pull request:
https://github.com/apache/nifi/pull/731
NIFI-2337: Turn off logging for org.apache.curator.framework.recipes.…
…leader.LeaderSelector since it logs only a single error, and that error is
a but in Curator
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/markap14/nifi NIFI-2337
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi/pull/731.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #731
----
commit 9e9fce91eef9d3f8aa627407aa5d3677f7691c26
Author: Mark Payne <[email protected]>
Date: 2016-07-27T20:30:44Z
NIFI-2337: Turn off logging for
org.apache.curator.framework.recipes.leader.LeaderSelector since it logs only a
single error, and that error is a but in Curator
----
> IllegalMonitorStateException when disconnecting node
> ----------------------------------------------------
>
> Key: NIFI-2337
> URL: https://issues.apache.org/jira/browse/NIFI-2337
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 1.0.0
> Reporter: Mark Payne
> Assignee: Mark Payne
> Fix For: 1.0.0
>
>
> When a node is disconnected from the cluster, it often logs a stacktrace
> similar to:
> 2016-07-20 20:20:47,814 ERROR [Leader Election Notification Thread-1]
> o.a.c.f.recipes.leader.LeaderSelector The leader threw an exception
> java.lang.IllegalMonitorStateException: You do not own the lock:
> /leaders/Cluster Coordinator
> at
> org.apache.curator.framework.recipes.locks.InterProcessMutex.release(InterProcessMutex.java:140)
> ~[curator-recipes-2.10.0.jar:na]
> at
> org.apache.curator.framework.recipes.leader.LeaderSelector.doWork(LeaderSelector.java:425)
> [curator-recipes-2.10.0.jar:na]
> at
> org.apache.curator.framework.recipes.leader.LeaderSelector.doWorkLoop(LeaderSelector.java:441)
> [curator-recipes-2.10.0.jar:na]
> at
> org.apache.curator.framework.recipes.leader.LeaderSelector.access$100(LeaderSelector.java:64)
> [curator-recipes-2.10.0.jar:na]
> at
> org.apache.curator.framework.recipes.leader.LeaderSelector$2.call(LeaderSelector.java:245)
> [curator-recipes-2.10.0.jar:na]
> at
> org.apache.curator.framework.recipes.leader.LeaderSelector$2.call(LeaderSelector.java:239)
> [curator-recipes-2.10.0.jar:na]
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> [na:1.8.0_74]
> at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> [na:1.8.0_74]
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> [na:1.8.0_74]
> at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> [na:1.8.0_74]
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> [na:1.8.0_74]
> at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
> [na:1.8.0_74]
> at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
> [na:1.8.0_74]
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> [na:1.8.0_74]
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> [na:1.8.0_74]
> at java.lang.Thread.run(Thread.java:745) [na:1.8.0_74]
> This error, I believe, is harmless but is alarming and should be addressed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)