You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by adenes <gi...@git.apache.org> on 2016/10/28 15:52:12 UTC

[GitHub] flume pull request #83: FLUME-2812: Exception in thread "SinkRunner-PollingR...

GitHub user adenes opened a pull request:

    https://github.com/apache/flume/pull/83

    FLUME-2812: Exception in thread "SinkRunner-PollingRunner-DefaultSinkProcessor" java.lang.Error: Maximum permit count exceeded

    Fix semaphore leak causing `java.lang.Error: Maximum permit count exceeded` in `MemoryChannel`
    
    ```java
    Exception in thread "SinkRunner-PollingRunner-DefaultSinkProcessor" java.lang.Error: Maximum permit count exceeded
    	at java.util.concurrent.Semaphore$Sync.tryReleaseShared(Semaphore.java:192)
    	at java.util.concurrent.locks.AbstractQueuedSynchronizer.releaseShared(AbstractQueuedSynchronizer.java:1341)
    	at java.util.concurrent.Semaphore.release(Semaphore.java:609)
    	at org.apache.flume.channel.MemoryChannel$MemoryTransaction.doCommit(MemoryChannel.java:147)
    	at org.apache.flume.channel.BasicTransactionSemantics.commit(BasicTransactionSemantics.java:151)
    	at org.apache.flume.sink.AbstractRpcSink.process(AbstractRpcSink.java:379)
    	at org.apache.flume.sink.DefaultSinkProcessor.process(DefaultSinkProcessor.java:68)
    	at org.apache.flume.SinkRunner$PollingRunner.run(SinkRunner.java:147)
    	at java.lang.Thread.run(Thread.java:745)
    ```
    
    for more details and explanation see my comment on [FLUME-2812](https://issues.apache.org/jira/browse/FLUME-2812)

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/adenes/flume FLUME-2812

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flume/pull/83.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 #83
    
----
commit 538837d5c035461c9b3073a2ce89da375aa139f3
Author: Denes Arvay <de...@cloudera.com>
Date:   2016-10-28T15:38:33Z

    FLUME-2812: Exception in thread "SinkRunner-PollingRunner-DefaultSinkProcessor" java.lang.Error: Maximum permit count exceeded
    
    Change-Id: Ib6761364abefca91ca50d80c073637766bfd93ca

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] flume pull request #83: FLUME-2812: Exception in thread "SinkRunner-PollingR...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/flume/pull/83


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---