{"action":"created","issue":{"url":"https://api.github.com/repos/apache/nifi/issues/115","labels_url":"https://api.github.com/repos/apache/nifi/issues/115/labels{/name}","comments_url":"https://api.github.com/repos/apache/nifi/issues/115/comments","events_url":"https://api.github.com/repos/apache/nifi/issues/115/events","html_url":"https://github.com/apache/nifi/pull/115","id":115344692,"number":115,"title":"NIFI-1099 fixed the handling of InterruptedException","user":{"login":"olegz","id":172397,"avatar_url":"https://avatars.githubusercontent.com/u/172397?v=3","gravatar_id":"","url":"https://api.github.com/users/olegz","html_url":"https://github.com/olegz","followers_url":"https://api.github.com/users/olegz/followers","following_url":"https://api.github.com/users/olegz/following{/other_user}","gists_url":"https://api.github.com/users/olegz/gists{/gist_id}","starred_url":"https://api.github.com/users/olegz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olegz/subscriptions","organizations_url":"https://api.github.com/users/olegz/orgs","repos_url":"https://api.github.com/users/olegz/repos","events_url":"https://api.github.com/users/olegz/events{/privacy}","received_events_url":"https://api.github.com/users/olegz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-05T18:30:44Z","updated_at":"2015-11-06T00:47:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/nifi/pulls/115","html_url":"https://github.com/apache/nifi/pull/115","diff_url":"https://github.com/apache/nifi/pull/115.diff","patch_url":"https://github.com/apache/nifi/pull/115.patch"},"body":"In many places current code simply swallows InterruptedException without allowing\r\ncalling thread to be notified  of the interrupt. We should not be doing this as it could lead to\r\nvarious side-effects (e.g., Thread pool waiting for completion of the interrupted task, a completion that)."},"comment":{"url":"https://api.github.com/repos/apache/nifi/issues/comments/154248804","html_url":"https://github.com/apache/nifi/pull/115#issuecomment-154248804","issue_url":"https://api.github.com/repos/apache/nifi/issues/115","id":154248804,"user":{"login":"olegz","id":172397,"avatar_url":"https://avatars.githubusercontent.com/u/172397?v=3","gravatar_id":"","url":"https://api.github.com/users/olegz","html_url":"https://github.com/olegz","followers_url":"https://api.github.com/users/olegz/followers","following_url":"https://api.github.com/users/olegz/following{/other_user}","gists_url":"https://api.github.com/users/olegz/gists{/gist_id}","starred_url":"https://api.github.com/users/olegz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olegz/subscriptions","organizations_url":"https://api.github.com/users/olegz/orgs","repos_url":"https://api.github.com/users/olegz/repos","events_url":"https://api.github.com/users/olegz/events{/privacy}","received_events_url":"https://api.github.com/users/olegz/received_events","type":"User","site_admin":false},"created_at":"2015-11-06T00:47:14Z","updated_at":"2015-11-06T00:47:14Z","body":"Great book, great guy and if you can't get a book here is his writeup on the subject - http://www.ibm.com/developerworks/library/j-jtp05236/.\r\n\r\nThe bottom line is blanket call to _Thread.interrupt()_ IMHO is always safe. All it does is resets the interrupt flag that the caller _may_ choose to ignore. NOT doing it simply implies withholding of the information that may or may not be relevant."}}