{"action":"created","issue":{"url":"https://api.github.com/repos/caskdata/cdap/issues/3877","labels_url":"https://api.github.com/repos/caskdata/cdap/issues/3877/labels{/name}","comments_url":"https://api.github.com/repos/caskdata/cdap/issues/3877/comments","events_url":"https://api.github.com/repos/caskdata/cdap/issues/3877/events","html_url":"https://github.com/caskdata/cdap/pull/3877","id":105903324,"number":3877,"title":"CDAP-3621-throw-IllegalStateException-instead-of-NPE","user":{"login":"anwar6953","id":2440977,"avatar_url":"https://avatars.githubusercontent.com/u/2440977?v=3","gravatar_id":"","url":"https://api.github.com/users/anwar6953","html_url":"https://github.com/anwar6953","followers_url":"https://api.github.com/users/anwar6953/followers","following_url":"https://api.github.com/users/anwar6953/following{/other_user}","gists_url":"https://api.github.com/users/anwar6953/gists{/gist_id}","starred_url":"https://api.github.com/users/anwar6953/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anwar6953/subscriptions","organizations_url":"https://api.github.com/users/anwar6953/orgs","repos_url":"https://api.github.com/users/anwar6953/repos","events_url":"https://api.github.com/users/anwar6953/events{/privacy}","received_events_url":"https://api.github.com/users/anwar6953/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/caskdata/cdap/labels/3.2","name":"3.2","color":"fad8c7"},{"url":"https://api.github.com/repos/caskdata/cdap/labels/Bug","name":"Bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-10T21:40:48Z","updated_at":"2015-09-11T01:41:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/caskdata/cdap/pulls/3877","html_url":"https://github.com/caskdata/cdap/pull/3877","diff_url":"https://github.com/caskdata/cdap/pull/3877.diff","patch_url":"https://github.com/caskdata/cdap/pull/3877.patch"},"body":"If Hadoop Job History Server has permission issues reading some files, the JobClient#getJob(JobId) method returns null.\r\nSo, instead of throwing NullPointerException, throw a NotFoundException, which will be caught by DistributedMRJobInfoFetcher#getMRJobInfo and fall back to the localMRJobInfoFetcher.\r\n\r\nhttps://issues.cask.co/browse/CDAP-3621\r\nhttp://builds.cask.co/browse/CDAP-DUT2797-2"},"comment":{"url":"https://api.github.com/repos/caskdata/cdap/issues/comments/139427193","html_url":"https://github.com/caskdata/cdap/pull/3877#issuecomment-139427193","issue_url":"https://api.github.com/repos/caskdata/cdap/issues/3877","id":139427193,"user":{"login":"sagarkapare","id":5713570,"avatar_url":"https://avatars.githubusercontent.com/u/5713570?v=3","gravatar_id":"","url":"https://api.github.com/users/sagarkapare","html_url":"https://github.com/sagarkapare","followers_url":"https://api.github.com/users/sagarkapare/followers","following_url":"https://api.github.com/users/sagarkapare/following{/other_user}","gists_url":"https://api.github.com/users/sagarkapare/gists{/gist_id}","starred_url":"https://api.github.com/users/sagarkapare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sagarkapare/subscriptions","organizations_url":"https://api.github.com/users/sagarkapare/orgs","repos_url":"https://api.github.com/users/sagarkapare/repos","events_url":"https://api.github.com/users/sagarkapare/events{/privacy}","received_events_url":"https://api.github.com/users/sagarkapare/received_events","type":"User","site_admin":false},"created_at":"2015-09-11T01:41:58Z","updated_at":"2015-09-11T01:41:58Z","body":"LGTM :+1: "}}