[
https://issues.apache.org/jira/browse/NIFI-3158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15828736#comment-15828736
]
ASF GitHub Bot commented on NIFI-3158:
--------------------------------------
GitHub user jtstorck opened a pull request:
https://github.com/apache/nifi/pull/1427
NIFI-3158 Added cleanup of resources and refactored exception handling
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jtstorck/nifi NIFI-3158
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi/pull/1427.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 #1427
----
commit de3b6919c02fddb4ae13054447081a82b5bdadaf
Author: Jeff Storck <[email protected]>
Date: 2016-12-06T20:20:35Z
NIFI-3158 Added cleanup of resources and refactored exception handling
----
> ZooKeeper Migrator should be better about cleaning up resources and throw
> more specific exceptions
> --------------------------------------------------------------------------------------------------
>
> Key: NIFI-3158
> URL: https://issues.apache.org/jira/browse/NIFI-3158
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Tools and Build
> Affects Versions: 1.1.0
> Reporter: Jeff Storck
> Assignee: Jeff Storck
> Priority: Minor
>
> ZooKeeper Migrator should close input/output streams and the ZK client when
> it's finished using them. Also, IOExceptions should be used in most places
> that currently throw RuntimeException.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)