{"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":15,"created_at":"2015-07-07T06:29:09Z","updated_at":"2015-07-08T03:28:21Z","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/119411026","html_url":"https://github.com/apache/spark/pull/7255#issuecomment-119411026","issue_url":"https://api.github.com/repos/apache/spark/issues/7255","id":119411026,"user":{"login":"AmplabJenkins","id":4031291,"avatar_url":"https://avatars.githubusercontent.com/u/4031291?v=3","gravatar_id":"","url":"https://api.github.com/users/AmplabJenkins","html_url":"https://github.com/AmplabJenkins","followers_url":"https://api.github.com/users/AmplabJenkins/followers","following_url":"https://api.github.com/users/AmplabJenkins/following{/other_user}","gists_url":"https://api.github.com/users/AmplabJenkins/gists{/gist_id}","starred_url":"https://api.github.com/users/AmplabJenkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmplabJenkins/subscriptions","organizations_url":"https://api.github.com/users/AmplabJenkins/orgs","repos_url":"https://api.github.com/users/AmplabJenkins/repos","events_url":"https://api.github.com/users/AmplabJenkins/events{/privacy}","received_events_url":"https://api.github.com/users/AmplabJenkins/received_events","type":"User","site_admin":false},"created_at":"2015-07-08T03:28:21Z","updated_at":"2015-07-08T03:28:21Z","body":"Merged build started."}}