GitHub user bbende opened a pull request:
https://github.com/apache/nifi/pull/312
NIFI-1697 Ensuring FlowController appropriately wraps code with NarClosable
From debugging this issue it was noticed that the problem only occurred
while a PutHDFS processor was enabled (running/stopepd), but if it was disabled
the problem went away. This led to realizing that when the processor is running
or stopped, validation is being called and was not being wrapped with
NarCloseable to ensure the validation uses the same classpath as the component
uses when executing.
This PR ensures that the FlowController wraps validation with NarCloseable,
and also when calling OnPrimaryNodeStateChanged which needed to be wrapped as
well.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/bbende/nifi NIFI-1697
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi/pull/312.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 #312
----
commit 605c6c88b53076034560d5faf3399c7e2b3e98fd
Author: Bryan Bende <[email protected]>
Date: 2016-03-30T15:46:52Z
NIFI-1697 Ensuring FlowController appropriately wraps code with NarCloseable
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---