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 <de...@cloudera.com> Date: 2016-11-15T16:21:12Z Expose FileChannel.open on JMX commit b6330e7366079f581e6d4d1ade9a97c1067f0bb1 Author: Denes Arvay <de...@cloudera.com> Date: 2016-11-16T15:44:06Z Add test for FileChannelCounter.isOpen() ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---