{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/7158","labels_url":"https://api.github.com/repos/apache/spark/issues/7158/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/7158/comments","events_url":"https://api.github.com/repos/apache/spark/issues/7158/events","html_url":"https://github.com/apache/spark/pull/7158","id":92374524,"number":7158,"title":"[SPARK-8755][Streaming]Login user before reading the checkpoint file in hdfs.","user":{"login":"SaintBacchus","id":7404824,"avatar_url":"https://avatars.githubusercontent.com/u/7404824?v=3","gravatar_id":"","url":"https://api.github.com/users/SaintBacchus","html_url":"https://github.com/SaintBacchus","followers_url":"https://api.github.com/users/SaintBacchus/followers","following_url":"https://api.github.com/users/SaintBacchus/following{/other_user}","gists_url":"https://api.github.com/users/SaintBacchus/gists{/gist_id}","starred_url":"https://api.github.com/users/SaintBacchus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SaintBacchus/subscriptions","organizations_url":"https://api.github.com/users/SaintBacchus/orgs","repos_url":"https://api.github.com/users/SaintBacchus/repos","events_url":"https://api.github.com/users/SaintBacchus/events{/privacy}","received_events_url":"https://api.github.com/users/SaintBacchus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":38,"created_at":"2015-07-01T12:53:17Z","updated_at":"2015-07-09T19:17:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/7158","html_url":"https://github.com/apache/spark/pull/7158","diff_url":"https://github.com/apache/spark/pull/7158.diff","patch_url":"https://github.com/apache/spark/pull/7158.patch"},"body":"If the user set `spark.yarn.principal` and `spark.yarn.keytab` , he does not need `kinit` in the client machine.\r\nBut when the application was recorved from checkpoint file, it had to `kinit`, because:\r\nThe checkpoint did not use this configurations before it use a DFSClient to fetch the ckeckpoint file.\r\n\r\nBut there is a small problem, the `UserGroupInformation.loginUserFromKeytab` will be called twice in checkpoint application. Ignored it in this PR.\r\n\r\n[Jira Address](https://issues.apache.org/jira/browse/SPARK-8755)"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/120114508","html_url":"https://github.com/apache/spark/pull/7158#issuecomment-120114508","issue_url":"https://api.github.com/repos/apache/spark/issues/7158","id":120114508,"user":{"login":"andrewor14","id":2133137,"avatar_url":"https://avatars.githubusercontent.com/u/2133137?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewor14","html_url":"https://github.com/andrewor14","followers_url":"https://api.github.com/users/andrewor14/followers","following_url":"https://api.github.com/users/andrewor14/following{/other_user}","gists_url":"https://api.github.com/users/andrewor14/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewor14/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewor14/subscriptions","organizations_url":"https://api.github.com/users/andrewor14/orgs","repos_url":"https://api.github.com/users/andrewor14/repos","events_url":"https://api.github.com/users/andrewor14/events{/privacy}","received_events_url":"https://api.github.com/users/andrewor14/received_events","type":"User","site_admin":false},"created_at":"2015-07-09T19:17:15Z","updated_at":"2015-07-09T19:17:15Z","body":"This patch is superseded by #7255 right? Should we close it?"}}