{"action":"created","comment":{"url":"https://api.github.com/repos/apache/incubator-reef/pulls/comments/40365919","id":40365919,"diff_hunk":"@@ -281,6 +299,15 @@ private void writeDriverHttpEndPoint(final File driverFolder,\n   public static void main(final String[] args) throws InjectionException, IOException, YarnException {\n     final YarnSubmissionFromCS yarnSubmission = YarnSubmissionFromCS.fromCommandLine(args);\n     LOG.log(Level.INFO, \"YARN job submission received from C#: {0}\", yarnSubmission);\n+    if (!yarnSubmission.getTokenKind().equalsIgnoreCase(\"NULL\")) {","path":"lang/java/reef-bridge-client/src/main/java/org/apache/reef/bridge/client/YarnJobSubmissionClient.java","position":43,"original_position":43,"commit_id":"124047f7c40efa191be2435fe8dd84730bf749bb","original_commit_id":"124047f7c40efa191be2435fe8dd84730bf749bb","user":{"login":"jwang98052","id":5666504,"avatar_url":"https://avatars.githubusercontent.com/u/5666504?v=3","gravatar_id":"","url":"https://api.github.com/users/jwang98052","html_url":"https://github.com/jwang98052","followers_url":"https://api.github.com/users/jwang98052/followers","following_url":"https://api.github.com/users/jwang98052/following{/other_user}","gists_url":"https://api.github.com/users/jwang98052/gists{/gist_id}","starred_url":"https://api.github.com/users/jwang98052/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwang98052/subscriptions","organizations_url":"https://api.github.com/users/jwang98052/orgs","repos_url":"https://api.github.com/users/jwang98052/repos","events_url":"https://api.github.com/users/jwang98052/events{/privacy}","received_events_url":"https://api.github.com/users/jwang98052/received_events","type":"User","site_admin":false},"body":"Move it to Launch would make main() cleaner. ","created_at":"2015-09-24T20:06:28Z","updated_at":"2015-09-24T20:06:28Z","html_url":"https://github.com/apache/incubator-reef/pull/523#discussion_r40365919","pull_request_url":"https://api.github.com/repos/apache/incubator-reef/pulls/523","_links":{"self":{"href":"https://api.github.com/repos/apache/incubator-reef/pulls/comments/40365919"},"html":{"href":"https://github.com/apache/incubator-reef/pull/523#discussion_r40365919"},"pull_request":{"href":"https://api.github.com/repos/apache/incubator-reef/pulls/523"}}},"pull_request":{"url":"https://api.github.com/repos/apache/incubator-reef/pulls/523","id":45926671,"html_url":"https://github.com/apache/incubator-reef/pull/523","diff_url":"https://github.com/apache/incubator-reef/pull/523.diff","patch_url":"https://github.com/apache/incubator-reef/pull/523.patch","issue_url":"https://api.github.com/repos/apache/incubator-reef/issues/523","number":523,"state":"open","locked":false,"title":"[REEF-782] Allow REEF .NET Client to setup security token for Hadoop","user":{"login":"anupam128","id":2722772,"avatar_url":"https://avatars.githubusercontent.com/u/2722772?v=3","gravatar_id":"","url":"https://api.github.com/users/anupam128","html_url":"https://github.com/anupam128","followers_url":"https://api.github.com/users/anupam128/followers","following_url":"https://api.github.com/users/anupam128/following{/other_user}","gists_url":"https://api.github.com/users/anupam128/gists{/gist_id}","starred_url":"https://api.github.com/users/anupam128/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anupam128/subscriptions","organizations_url":"https://api.github.com/users/anupam128/orgs","repos_url":"https://api.github.com/users/anupam128/repos","events_url":"https://api.github.com/users/anupam128/events{/privacy}","received_events_url":"https://api.github.com/users/anupam128/received_events","type":"User","site_admin":false},"body":"This addressed the issue by\r\n * Defining file names for token id and password handshake between .NET\r\n * client and java client\r\n * Defining new commandline parameters for token kind and token service\r\n * and passing it to Java launcher\r\n * Setting the tokens into user credentials when user expresses such\r\n * intent by passing the token kind\r\n\r\nJIRA:\r\n [REEF-782](https://issues.apache.org/jira/browse/REEF-782)","created_at":"2015-09-24T17:40:37Z","updated_at":"2015-09-24T20:06:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"858ce9fa02cd39bca9a8a41d8223f8c07ec0c759","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/incubator-reef/pulls/523/commits","review_comments_url":"https://api.github.com/repos/apache/incubator-reef/pulls/523/comments","review_comment_url":"https://api.github.com/repos/apache/incubator-reef/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/incubator-reef/issues/523/comments","statuses_url":"https://api.github.com/repos/apache/incubator-reef/statuses/124047f7c40efa191be2435fe8dd84730bf749bb","head":{"label":"anupam128:REEF-782","ref":"REEF-782","sha":"124047f7c40efa191be2435fe8dd84730bf749bb","user":{"login":"anupam128","id":2722772,"avatar_url":"https://avatars.githubusercontent.com/u/2722772?v=3","gravatar_id":"","url":"https://api.github.com/users/anupam128","html_url":"https://github.com/anupam128","followers_url":"https://api.github.com/users/anupam128/followers","following_url":"https://api.github.com/users/anupam128/following{/other_user}","gists_url":"https://api.github.com/users/anupam128/gists{/gist_id}","starred_url":"https://api.github.com/users/anupam128/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anupam128/subscriptions","organizations_url":"https://api.github.com/users/anupam128/orgs","repos_url":"https://api.github.com/users/anupam128/repos","events_url":"https://api.github.com/users/anupam128/events{/privacy}","received_events_url":"https://api.github.com/users/anupam128/received_events","type":"User","site_admin":false},"repo":{"id":40320640,"name":"incubator-reef","full_name":"anupam128/incubator-reef","owner":{"login":"anupam128","id":2722772,"avatar_url":"https://avatars.githubusercontent.com/u/2722772?v=3","gravatar_id":"","url":"https://api.github.com/users/anupam128","html_url":"https://github.com/anupam128","followers_url":"https://api.github.com/users/anupam128/followers","following_url":"https://api.github.com/users/anupam128/following{/other_user}","gists_url":"https://api.github.com/users/anupam128/gists{/gist_id}","starred_url":"https://api.github.com/users/anupam128/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anupam128/subscriptions","organizations_url":"https://api.github.com/users/anupam128/orgs","repos_url":"https://api.github.com/users/anupam128/repos","events_url":"https://api.github.com/users/anupam128/events{/privacy}","received_events_url":"https://api.github.com/users/anupam128/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/anupam128/incubator-reef","description":"Mirror of Apache REEF (Incubating)","fork":true,"url":"https://api.github.com/repos/anupam128/incubator-reef","forks_url":"https://api.github.com/repos/anupam128/incubator-reef/forks","keys_url":"https://api.github.com/repos/anupam128/incubator-reef/keys{/key_id}","collaborators_url":"https://api.github.com/repos/anupam128/incubator-reef/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/anupam128/incubator-reef/teams","hooks_url":"https://api.github.com/repos/anupam128/incubator-reef/hooks","issue_events_url":"https://api.github.com/repos/anupam128/incubator-reef/issues/events{/number}","events_url":"https://api.github.com/repos/anupam128/incubator-reef/events","assignees_url":"https://api.github.com/repos/anupam128/incubator-reef/assignees{/user}","branches_url":"https://api.github.com/repos/anupam128/incubator-reef/branches{/branch}","tags_url":"https://api.github.com/repos/anupam128/incubator-reef/tags","blobs_url":"https://api.github.com/repos/anupam128/incubator-reef/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/anupam128/incubator-reef/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/anupam128/incubator-reef/git/refs{/sha}","trees_url":"https://api.github.com/repos/anupam128/incubator-reef/git/trees{/sha}","statuses_url":"https://api.github.com/repos/anupam128/incubator-reef/statuses/{sha}","languages_url":"https://api.github.com/repos/anupam128/incubator-reef/languages","stargazers_url":"https://api.github.com/repos/anupam128/incubator-reef/stargazers","contributors_url":"https://api.github.com/repos/anupam128/incubator-reef/contributors","subscribers_url":"https://api.github.com/repos/anupam128/incubator-reef/subscribers","subscription_url":"https://api.github.com/repos/anupam128/incubator-reef/subscription","commits_url":"https://api.github.com/repos/anupam128/incubator-reef/commits{/sha}","git_commits_url":"https://api.github.com/repos/anupam128/incubator-reef/git/commits{/sha}","comments_url":"https://api.github.com/repos/anupam128/incubator-reef/comments{/number}","issue_comment_url":"https://api.github.com/repos/anupam128/incubator-reef/issues/comments{/number}","contents_url":"https://api.github.com/repos/anupam128/incubator-reef/contents/{+path}","compare_url":"https://api.github.com/repos/anupam128/incubator-reef/compare/{base}...{head}","merges_url":"https://api.github.com/repos/anupam128/incubator-reef/merges","archive_url":"https://api.github.com/repos/anupam128/incubator-reef/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/anupam128/incubator-reef/downloads","issues_url":"https://api.github.com/repos/anupam128/incubator-reef/issues{/number}","pulls_url":"https://api.github.com/repos/anupam128/incubator-reef/pulls{/number}","milestones_url":"https://api.github.com/repos/anupam128/incubator-reef/milestones{/number}","notifications_url":"https://api.github.com/repos/anupam128/incubator-reef/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/anupam128/incubator-reef/labels{/name}","releases_url":"https://api.github.com/repos/anupam128/incubator-reef/releases{/id}","created_at":"2015-08-06T18:28:07Z","updated_at":"2015-08-06T18:28:13Z","pushed_at":"2015-09-24T17:39:13Z","git_url":"git://github.com/anupam128/incubator-reef.git","ssh_url":"git@github.com:anupam128/incubator-reef.git","clone_url":"https://github.com/anupam128/incubator-reef.git","svn_url":"https://github.com/anupam128/incubator-reef","homepage":null,"size":33768,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"12aea93c657785b7ff1cfcb13b671e196b25b1cb","user":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":25623941,"name":"incubator-reef","full_name":"apache/incubator-reef","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/incubator-reef","description":"Mirror of Apache REEF (Incubating)","fork":false,"url":"https://api.github.com/repos/apache/incubator-reef","forks_url":"https://api.github.com/repos/apache/incubator-reef/forks","keys_url":"https://api.github.com/repos/apache/incubator-reef/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/incubator-reef/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/incubator-reef/teams","hooks_url":"https://api.github.com/repos/apache/incubator-reef/hooks","issue_events_url":"https://api.github.com/repos/apache/incubator-reef/issues/events{/number}","events_url":"https://api.github.com/repos/apache/incubator-reef/events","assignees_url":"https://api.github.com/repos/apache/incubator-reef/assignees{/user}","branches_url":"https://api.github.com/repos/apache/incubator-reef/branches{/branch}","tags_url":"https://api.github.com/repos/apache/incubator-reef/tags","blobs_url":"https://api.github.com/repos/apache/incubator-reef/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/incubator-reef/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/incubator-reef/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/incubator-reef/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/incubator-reef/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/incubator-reef/languages","stargazers_url":"https://api.github.com/repos/apache/incubator-reef/stargazers","contributors_url":"https://api.github.com/repos/apache/incubator-reef/contributors","subscribers_url":"https://api.github.com/repos/apache/incubator-reef/subscribers","subscription_url":"https://api.github.com/repos/apache/incubator-reef/subscription","commits_url":"https://api.github.com/repos/apache/incubator-reef/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/incubator-reef/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/incubator-reef/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/incubator-reef/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/incubator-reef/contents/{+path}","compare_url":"https://api.github.com/repos/apache/incubator-reef/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/incubator-reef/merges","archive_url":"https://api.github.com/repos/apache/incubator-reef/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/incubator-reef/downloads","issues_url":"https://api.github.com/repos/apache/incubator-reef/issues{/number}","pulls_url":"https://api.github.com/repos/apache/incubator-reef/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/incubator-reef/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/incubator-reef/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/incubator-reef/labels{/name}","releases_url":"https://api.github.com/repos/apache/incubator-reef/releases{/id}","created_at":"2014-10-23T07:00:10Z","updated_at":"2015-09-14T06:39:15Z","pushed_at":"2015-09-24T19:56:45Z","git_url":"git://github.com/apache/incubator-reef.git","ssh_url":"git@github.com:apache/incubator-reef.git","clone_url":"https://github.com/apache/incubator-reef.git","svn_url":"https://github.com/apache/incubator-reef","homepage":null,"size":45197,"stargazers_count":26,"watchers_count":26,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":36,"mirror_url":"git://git.apache.org/incubator-reef.git","open_issues_count":12,"forks":36,"open_issues":12,"watchers":26,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/incubator-reef/pulls/523"},"html":{"href":"https://github.com/apache/incubator-reef/pull/523"},"issue":{"href":"https://api.github.com/repos/apache/incubator-reef/issues/523"},"comments":{"href":"https://api.github.com/repos/apache/incubator-reef/issues/523/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/incubator-reef/pulls/523/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/incubator-reef/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/incubator-reef/pulls/523/commits"},"statuses":{"href":"https://api.github.com/repos/apache/incubator-reef/statuses/124047f7c40efa191be2435fe8dd84730bf749bb"}}}}