Github user olegz commented on the pull request:
https://github.com/apache/nifi/pull/115#issuecomment-154428329
I just want to make sure that we are all on the same page; _repeat the
interrupt_ in the context of _Thread.interrupt()_ simply implies communication
of something that have already happened and is not he same as re-throwing
exception. Hence my point about that being safe.
For cases where one really wants to ignore the interrupt especially where
```Thread.sleep(..)``` is used (a whole other topic), we can simply use
```LockSupport.parkNanos(..)```. Any interrupt will not turn into exception
making user responsible to query the active thread periodically and check if it
has been interrupted ```Thread.isInterrupted()```.
---
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.
---