{"action":"created","issue":{"url":"https://api.github.com/repos/apache/nifi/issues/97","labels_url":"https://api.github.com/repos/apache/nifi/issues/97/labels{/name}","comments_url":"https://api.github.com/repos/apache/nifi/issues/97/comments","events_url":"https://api.github.com/repos/apache/nifi/issues/97/events","html_url":"https://github.com/apache/nifi/pull/97","id":108928902,"number":97,"title":"NIFI-997: Periodically Renew Kerberos Tickets","user":{"login":"rickysaltzer","id":347356,"avatar_url":"https://avatars.githubusercontent.com/u/347356?v=3","gravatar_id":"","url":"https://api.github.com/users/rickysaltzer","html_url":"https://github.com/rickysaltzer","followers_url":"https://api.github.com/users/rickysaltzer/followers","following_url":"https://api.github.com/users/rickysaltzer/following{/other_user}","gists_url":"https://api.github.com/users/rickysaltzer/gists{/gist_id}","starred_url":"https://api.github.com/users/rickysaltzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rickysaltzer/subscriptions","organizations_url":"https://api.github.com/users/rickysaltzer/orgs","repos_url":"https://api.github.com/users/rickysaltzer/repos","events_url":"https://api.github.com/users/rickysaltzer/events{/privacy}","received_events_url":"https://api.github.com/users/rickysaltzer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-29T18:23:13Z","updated_at":"2015-10-23T14:40:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/nifi/pulls/97","html_url":"https://github.com/apache/nifi/pull/97","diff_url":"https://github.com/apache/nifi/pull/97.diff","patch_url":"https://github.com/apache/nifi/pull/97.patch"},"body":"Adding a patch to renew ticket every 4 hours to avoid inactive Kerberos tickets. This was an issue found when running Kerberos enabled Hadoop processors for a long period of time. This technically _should_ have been handled by the Hadoop library, but due to unknown issues, the renewal thread inside of Hadoop doesn't seem to be doing that. \r\n\r\nThis patch is fairly simplistic, and applies to all Hadoop processors as it's implemented at on the AbstractHadoopProcessor. The kerberos ticket age is checked against a threshold (4 hours is a safe bet) when getFileSystem() is called. If the age exceeds the threshold, we re-login using the UserGroupInformation class before passing back the filesystem. "},"comment":{"url":"https://api.github.com/repos/apache/nifi/issues/comments/150593630","html_url":"https://github.com/apache/nifi/pull/97#issuecomment-150593630","issue_url":"https://api.github.com/repos/apache/nifi/issues/97","id":150593630,"user":{"login":"rickysaltzer","id":347356,"avatar_url":"https://avatars.githubusercontent.com/u/347356?v=3","gravatar_id":"","url":"https://api.github.com/users/rickysaltzer","html_url":"https://github.com/rickysaltzer","followers_url":"https://api.github.com/users/rickysaltzer/followers","following_url":"https://api.github.com/users/rickysaltzer/following{/other_user}","gists_url":"https://api.github.com/users/rickysaltzer/gists{/gist_id}","starred_url":"https://api.github.com/users/rickysaltzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rickysaltzer/subscriptions","organizations_url":"https://api.github.com/users/rickysaltzer/orgs","repos_url":"https://api.github.com/users/rickysaltzer/repos","events_url":"https://api.github.com/users/rickysaltzer/events{/privacy}","received_events_url":"https://api.github.com/users/rickysaltzer/received_events","type":"User","site_admin":false},"created_at":"2015-10-23T14:40:12Z","updated_at":"2015-10-23T14:40:12Z","body":"@trkurc would you mind testing this latest commit, as it makes the renewal period configurable now. "}}