{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/7255","labels_url":"https://api.github.com/repos/apache/spark/issues/7255/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/7255/comments","events_url":"https://api.github.com/repos/apache/spark/issues/7255/events","html_url":"https://github.com/apache/spark/pull/7255","id":93450272,"number":7255,"title":"[SPARK-8851][YARN] In Yarn client mode, Client.scala does not login even when credentials are specified","user":{"login":"harishreedharan","id":1481194,"avatar_url":"https://avatars.githubusercontent.com/u/1481194?v=3","gravatar_id":"","url":"https://api.github.com/users/harishreedharan","html_url":"https://github.com/harishreedharan","followers_url":"https://api.github.com/users/harishreedharan/followers","following_url":"https://api.github.com/users/harishreedharan/following{/other_user}","gists_url":"https://api.github.com/users/harishreedharan/gists{/gist_id}","starred_url":"https://api.github.com/users/harishreedharan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harishreedharan/subscriptions","organizations_url":"https://api.github.com/users/harishreedharan/orgs","repos_url":"https://api.github.com/users/harishreedharan/repos","events_url":"https://api.github.com/users/harishreedharan/events{/privacy}","received_events_url":"https://api.github.com/users/harishreedharan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":37,"created_at":"2015-07-07T06:29:09Z","updated_at":"2015-07-09T07:42:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/7255","html_url":"https://github.com/apache/spark/pull/7255","diff_url":"https://github.com/apache/spark/pull/7255.diff","patch_url":"https://github.com/apache/spark/pull/7255.patch"},"body":"Client.scala does not login since we check if args.principal is null before logging in, which it is since it is passed via SparkConf.\r\nThis PR addresses this by ensuring that we login in Client.scala in either case, and also pass the credentials correctly."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/119857822","html_url":"https://github.com/apache/spark/pull/7255#issuecomment-119857822","issue_url":"https://api.github.com/repos/apache/spark/issues/7255","id":119857822,"user":{"login":"harishreedharan","id":1481194,"avatar_url":"https://avatars.githubusercontent.com/u/1481194?v=3","gravatar_id":"","url":"https://api.github.com/users/harishreedharan","html_url":"https://github.com/harishreedharan","followers_url":"https://api.github.com/users/harishreedharan/followers","following_url":"https://api.github.com/users/harishreedharan/following{/other_user}","gists_url":"https://api.github.com/users/harishreedharan/gists{/gist_id}","starred_url":"https://api.github.com/users/harishreedharan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harishreedharan/subscriptions","organizations_url":"https://api.github.com/users/harishreedharan/orgs","repos_url":"https://api.github.com/users/harishreedharan/repos","events_url":"https://api.github.com/users/harishreedharan/events{/privacy}","received_events_url":"https://api.github.com/users/harishreedharan/received_events","type":"User","site_admin":false},"created_at":"2015-07-09T07:42:30Z","updated_at":"2015-07-09T07:42:30Z","body":"No, that would not work. We can document that if that is the case, you'd really need to do `kinit` yourself."}}