flume-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLUME-3025) Expose FileChannel.open on JMX
Date Wed, 16 Nov 2016 15:56:58 GMT

    [ https://issues.apache.org/jira/browse/FLUME-3025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15670806#comment-15670806
] 

ASF GitHub Bot commented on FLUME-3025:
---------------------------------------

GitHub user adenes opened a pull request:

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

    FLUME-3025: Expose FileChannel.open JMX

    This patch exposes the `FileChannel`'s `open` flag on JMX to make it possible to detect
when it wasn't able to start up (thus its `open` flag is `false`).

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

    $ git pull https://github.com/adenes/flume expose-filechannel-open-jmx

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

    https://github.com/apache/flume/pull/85.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 #85
    
----
commit ec250a672523ef36a72b6ebbcdd9c7ecfab39447
Author: Denes Arvay <denes@cloudera.com>
Date:   2016-11-15T16:21:12Z

    Expose FileChannel.open on JMX

commit b6330e7366079f581e6d4d1ade9a97c1067f0bb1
Author: Denes Arvay <denes@cloudera.com>
Date:   2016-11-16T15:44:06Z

    Add test for FileChannelCounter.isOpen()

----


> Expose FileChannel.open on JMX
> ------------------------------
>
>                 Key: FLUME-3025
>                 URL: https://issues.apache.org/jira/browse/FLUME-3025
>             Project: Flume
>          Issue Type: Improvement
>            Reporter: Denes Arvay
>            Assignee: Denes Arvay
>
> We've encountered an issue several times when the {{FileChannel}} wasn't able to start
because of some startup-time exception.
> In this case {{FileChannel.open}} stays false {{false}}, exposing this field on JMX would
make it easier to detect when the file channel hasn't been started / or has been stopped because
of some reason.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message