{"action":"created","comment":{"url":"https://api.github.com/repos/apache/incubator-reef/pulls/comments/45270935","id":45270935,"diff_hunk":"@@ -0,0 +1,172 @@\n+﻿// Licensed to the Apache Software Foundation (ASF) under one\n+// or more contributor license agreements.  See the NOTICE file\n+// distributed with this work for additional information\n+// regarding copyright ownership.  The ASF licenses this file\n+// to you under the Apache License, Version 2.0 (the\n+// \"License\"); you may not use this file except in compliance\n+// with the License.  You may obtain a copy of the License at\n+// \n+//   http://www.apache.org/licenses/LICENSE-2.0\n+// \n+// Unless required by applicable law or agreed to in writing,\n+// software distributed under the License is distributed on an\n+// \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n+// KIND, either express or implied.  See the License for the\n+// specific language governing permissions and limitations\n+// under the License.\n+\n+using System.Collections.Generic;\n+using Microsoft.VisualStudio.TestTools.UnitTesting;\n+using NSubstitute;\n+using Org.Apache.REEF.Client.Yarn;\n+using Org.Apache.REEF.Client.YARN;\n+using Org.Apache.REEF.Client.YARN.Parameters;\n+using Org.Apache.REEF.Tang.Implementations.Tang;\n+using Org.Apache.REEF.Tang.Util;\n+\n+namespace Org.Apache.REEF.Client.Tests\n+{\n+    [TestClass]\n+    public class WindowsYarnJobCommandBuilderTests\n+    {\n+        private static readonly List<string> AnyClassPathItems = new List<string>\n+        {\n+            \"%HADOOP_CONF_DIR%\",\n+            \"%HADOOP_HOME%/*\",\n+            \"%HADOOP_HOME%/lib/*\",\n+            \"%HADOOP_COMMON_HOME%/*\",\n+            \"%HADOOP_COMMON_HOME%/lib/*\",\n+            \"%HADOOP_YARN_HOME%/*\",\n+            \"%HADOOP_YARN_HOME%/lib/*\",\n+            \"%HADOOP_HDFS_HOME%/*\",\n+            \"%HADOOP_HDFS_HOME%/lib/*\",\n+            \"%HADOOP_MAPRED_HOME%/*\",\n+            \"%HADOOP_MAPRED_HOME%/lib/*\",\n+            \"%HADOOP_HOME%/etc/hadoop\",\n+            \"%HADOOP_HOME%/share/hadoop/common/*\",\n+            \"%HADOOP_HOME%/share/hadoop/common/lib/*\",\n+            \"%HADOOP_HOME%/share/hadoop/yarn/*\",\n+            \"%HADOOP_HOME%/share/hadoop/yarn/lib/*\",\n+            \"%HADOOP_HOME%/share/hadoop/hdfs/*\",\n+            \"%HADOOP_HOME%/share/hadoop/hdfs/lib/*\",\n+            \"%HADOOP_HOME%/share/hadoop/mapreduce/*\",\n+            \"%HADOOP_HOME%/share/hadoop/mapreduce/lib/*\",\n+            \"reef/local/*\",\n+            \"reef/global/*\"\n+        };\n+\n+        [TestMethod]\n+        public void YarnJobCommandBuilderIsDefaultImplementationOfIYarnJobCommandBuilder()\n+        {\n+            Assert.IsInstanceOfType(TangFactory.GetTang().NewInjector().GetInstance<IYarnJobCommandBuilder>(), typeof(WindowsYarnJobCommandBuilder));\n+        }\n+\n+        [TestMethod]\n+        public void GetJobSubmissionCommandGeneratesCorrectCommand()\n+        {\n+            var testContext = new TestContext();\n+            const string expectedCommand = @\"reef\\Org.Apache.REEF.Bridge.exe\" +\n+                                           \" %JAVA_HOME%/bin/java -XX:PermSize=128m -XX:MaxPermSize=128m -Xmx512m \" +\n+                                           \"-classpath %HADOOP_CONF_DIR%;%HADOOP_HOME%/*;%HADOOP_HOME%/lib/*;%HADO\" +\n+                                           \"OP_COMMON_HOME%/*;%HADOOP_COMMON_HOME%/lib/*;%HADOOP_YARN_HOME%/*;%HAD\" +\n+                                           \"OOP_YARN_HOME%/lib/*;%HADOOP_HDFS_HOME%/*;%HADOOP_HDFS_HOME%/lib/*;%HA\" +\n+                                           \"DOOP_MAPRED_HOME%/*;%HADOOP_MAPRED_HOME%/lib/*;%HADOOP_HOME%/etc/hadoo\" +\n+                                           \"p;%HADOOP_HOME%/share/hadoop/common/*;%HADOOP_HOME%/share/hadoop/commo\" +\n+                                           \"n/lib/*;%HADOOP_HOME%/share/hadoop/yarn/*;%HADOOP_HOME%/share/hadoop/y\" +\n+                                           \"arn/lib/*;%HADOOP_HOME%/share/hadoop/hdfs/*;%HADOOP_HOME%/share/hadoop\" +\n+                                           \"/hdfs/lib/*;%HADOOP_HOME%/share/hadoop/mapreduce/*;%HADOOP_HOME%/share\" +\n+                                           \"/hadoop/mapreduce/lib/*;reef/local/*;reef/global/* -Dproc_reef org.apa\" +\n+                                           \"che.reef.bridge.client.YarnBootstrapREEFLauncher reef/local/job-submis\" +\n+                                           \"sion-params.json 1> <LOG_DIR>/driver.stdout 2> <LOG_DIR>/driver.stderr\";\n+\n+            var commandBuilder = testContext.GetCommandBuilder();\n+            var jobSubmissionCommand = commandBuilder.GetJobSubmissionCommand();\n+            Assert.AreEqual(expectedCommand, jobSubmissionCommand);\n+        }\n+\n+        [TestMethod]\n+        public void GetJobSubmissionCommandLoggingEnabledGeneratesCorrectCommand()\n+        {\n+            var testContext = new TestContext();\n+            const string expectedCommand = @\"reef\\Org.Apache.REEF.Bridge.exe\" +\n+                                           \" %JAVA_HOME%/bin/java -XX:PermSize=128m -XX:MaxPermSize=128m -Xmx512m \" +\n+                                           \"-classpath %HADOOP_CONF_DIR%;%HADOOP_HOME%/*;%HADOOP_HOME%/lib/*;%HADO\" +\n+                                           \"OP_COMMON_HOME%/*;%HADOOP_COMMON_HOME%/lib/*;%HADOOP_YARN_HOME%/*;%HAD\" +\n+                                           \"OOP_YARN_HOME%/lib/*;%HADOOP_HDFS_HOME%/*;%HADOOP_HDFS_HOME%/lib/*;%HA\" +\n+                                           \"DOOP_MAPRED_HOME%/*;%HADOOP_MAPRED_HOME%/lib/*;%HADOOP_HOME%/etc/hadoo\" +\n+                                           \"p;%HADOOP_HOME%/share/hadoop/common/*;%HADOOP_HOME%/share/hadoop/commo\" +\n+                                           \"n/lib/*;%HADOOP_HOME%/share/hadoop/yarn/*;%HADOOP_HOME%/share/hadoop/y\" +\n+                                           \"arn/lib/*;%HADOOP_HOME%/share/hadoop/hdfs/*;%HADOOP_HOME%/share/hadoop\" +\n+                                           \"/hdfs/lib/*;%HADOOP_HOME%/share/hadoop/mapreduce/*;%HADOOP_HOME%/share\" +\n+                                           \"/hadoop/mapreduce/lib/*;reef/local/*;reef/global/* -Dproc_reef -Djava.\" +\n+                                           \"util.logging.config.class=org.apache.reef.util.logging.Config org.apac\" +\n+                                           \"he.reef.bridge.client.YarnBootstrapREEFLauncher reef/local/job-submiss\" +\n+                                           \"ion-params.json 1> <LOG_DIR>/driver.stdout 2> <LOG_DIR>/driver.stderr\";\n+            var commandBuilder = testContext.GetCommandBuilder(true);\n+            var jobSubmissionCommand = commandBuilder.GetJobSubmissionCommand();\n+            Assert.AreEqual(expectedCommand, jobSubmissionCommand);\n+        }\n+\n+        [TestMethod]\n+        public void GetJobSubmissionCommandSetsCorrectDriverMemoryAllocationSize()\n+        {\n+            var testContext = new TestContext();\n+            const int sizeMB = 256;\n+            const string expectedCommandFormat = @\"reef\\Org.Apache.REEF.Bridge.exe\" +\n+                                                 \" %JAVA_HOME%/bin/java -XX:PermSize=128m -XX:MaxPermSize=128m -Xmx{0}m \" +\n+                                                 \"-classpath %HADOOP_CONF_DIR%;%HADOOP_HOME%/*;%HADOOP_HOME%/lib/*;%HADO\" +\n+                                                 \"OP_COMMON_HOME%/*;%HADOOP_COMMON_HOME%/lib/*;%HADOOP_YARN_HOME%/*;%HAD\" +\n+                                                 \"OOP_YARN_HOME%/lib/*;%HADOOP_HDFS_HOME%/*;%HADOOP_HDFS_HOME%/lib/*;%HA\" +\n+                                                 \"DOOP_MAPRED_HOME%/*;%HADOOP_MAPRED_HOME%/lib/*;%HADOOP_HOME%/etc/hadoo\" +\n+                                                 \"p;%HADOOP_HOME%/share/hadoop/common/*;%HADOOP_HOME%/share/hadoop/commo\" +\n+                                                 \"n/lib/*;%HADOOP_HOME%/share/hadoop/yarn/*;%HADOOP_HOME%/share/hadoop/y\" +\n+                                                 \"arn/lib/*;%HADOOP_HOME%/share/hadoop/hdfs/*;%HADOOP_HOME%/share/hadoop\" +\n+                                                 \"/hdfs/lib/*;%HADOOP_HOME%/share/hadoop/mapreduce/*;%HADOOP_HOME%/share\" +\n+                                                 \"/hadoop/mapreduce/lib/*;reef/local/*;reef/global/* -Dproc_reef org.apa\" +\n+                                                 \"che.reef.bridge.client.YarnBootstrapREEFLauncher reef/local/job-submis\" +\n+                                                 \"sion-params.json 1> <LOG_DIR>/driver.stdout 2> <LOG_DIR>/driver.stderr\";\n+            string expectedCommand = string.Format(expectedCommandFormat, sizeMB);\n+            var commandBuilder = testContext.GetCommandBuilder().SetMaxDriverAllocationPoolSizeMB(sizeMB);\n+            var jobSubmissionCommand = commandBuilder.GetJobSubmissionCommand();\n+            Assert.AreEqual(expectedCommand, jobSubmissionCommand);\n+        }\n+\n+        [TestMethod]\n+        public void GetJobSubmissionCommandSetsCorrectMaxPermSize()\n+        {\n+            var testContext = new TestContext();\n+            const int sizeMB = 256;\n+            const string expectedCommandFormat = @\"reef\\Org.Apache.REEF.Bridge.exe\" +\n+                                                 \" %JAVA_HOME%/bin/java -XX:PermSize=128m -XX:MaxPermSize={0}m -Xmx512m \" +\n+                                                 \"-classpath %HADOOP_CONF_DIR%;%HADOOP_HOME%/*;%HADOOP_HOME%/lib/*;%HADO\" +\n+                                                 \"OP_COMMON_HOME%/*;%HADOOP_COMMON_HOME%/lib/*;%HADOOP_YARN_HOME%/*;%HAD\" +\n+                                                 \"OOP_YARN_HOME%/lib/*;%HADOOP_HDFS_HOME%/*;%HADOOP_HDFS_HOME%/lib/*;%HA\" +\n+                                                 \"DOOP_MAPRED_HOME%/*;%HADOOP_MAPRED_HOME%/lib/*;%HADOOP_HOME%/etc/hadoo\" +\n+                                                 \"p;%HADOOP_HOME%/share/hadoop/common/*;%HADOOP_HOME%/share/hadoop/commo\" +\n+                                                 \"n/lib/*;%HADOOP_HOME%/share/hadoop/yarn/*;%HADOOP_HOME%/share/hadoop/y\" +\n+                                                 \"arn/lib/*;%HADOOP_HOME%/share/hadoop/hdfs/*;%HADOOP_HOME%/share/hadoop\" +\n+                                                 \"/hdfs/lib/*;%HADOOP_HOME%/share/hadoop/mapreduce/*;%HADOOP_HOME%/share\" +\n+                                                 \"/hadoop/mapreduce/lib/*;reef/local/*;reef/global/* -Dproc_reef org.apa\" +\n+                                                 \"che.reef.bridge.client.YarnBootstrapREEFLauncher reef/local/job-submis\" +\n+                                                 \"sion-params.json 1> <LOG_DIR>/driver.stdout 2> <LOG_DIR>/driver.stderr\";\n+            string expectedCommand = string.Format(expectedCommandFormat, sizeMB);\n+            var commandBuilder = testContext.GetCommandBuilder().SetDriverMaxPermSizeMB(sizeMB);\n+            var jobSubmissionCommand = commandBuilder.GetJobSubmissionCommand();\n+            Assert.AreEqual(expectedCommand, jobSubmissionCommand);\n+        }\n+\n+        private class TestContext\n+        {\n+            public readonly IYarnCommandLineEnvironment YarnCommandLineEnvironment = Substitute.For<IYarnCommandLineEnvironment>();\n+\n+            public WindowsYarnJobCommandBuilder GetCommandBuilder(bool enableLogging = false)\n+            {\n+                var injector = TangFactory.GetTang().NewInjector();\n+                YarnCommandLineEnvironment.GetYarnClasspathList().Returns(AnyClassPathItems);\n+                injector.BindVolatileInstance(GenericType<IYarnCommandLineEnvironment>.Class, YarnCommandLineEnvironment);\n+                injector.BindVolatileParameter(GenericType<EnableDebugLogging>.Class, enableLogging);","path":"lang/cs/Org.Apache.REEF.Client.Tests/WindowsYarnJobCommandBuilderTests.cs","position":167,"original_position":167,"commit_id":"98a02f06879d497f9846e8404da27b7977f3a5ab","original_commit_id":"98a02f06879d497f9846e8404da27b7977f3a5ab","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":"You should bind it into the configuration when creating the injector. ","created_at":"2015-11-18T22:30:27Z","updated_at":"2015-11-18T22:30:27Z","html_url":"https://github.com/apache/incubator-reef/pull/639#discussion_r45270935","pull_request_url":"https://api.github.com/repos/apache/incubator-reef/pulls/639","_links":{"self":{"href":"https://api.github.com/repos/apache/incubator-reef/pulls/comments/45270935"},"html":{"href":"https://github.com/apache/incubator-reef/pull/639#discussion_r45270935"},"pull_request":{"href":"https://api.github.com/repos/apache/incubator-reef/pulls/639"}}},"pull_request":{"url":"https://api.github.com/repos/apache/incubator-reef/pulls/639","id":50713336,"html_url":"https://github.com/apache/incubator-reef/pull/639","diff_url":"https://github.com/apache/incubator-reef/pull/639.diff","patch_url":"https://github.com/apache/incubator-reef/pull/639.patch","issue_url":"https://api.github.com/repos/apache/incubator-reef/issues/639","number":639,"state":"open","locked":false,"title":"[REEF-946] Implement YARN REST submission command builder for REEF .NET","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":"client\r\n\r\nJIRA:\r\n [REEF-946](https://issues.apache.org/jira/browse/REEF-946)","created_at":"2015-11-14T02:05:34Z","updated_at":"2015-11-18T22:30:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1d45ef47259a2c933ea1d933846ee78c6dc43996","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/incubator-reef/pulls/639/commits","review_comments_url":"https://api.github.com/repos/apache/incubator-reef/pulls/639/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/639/comments","statuses_url":"https://api.github.com/repos/apache/incubator-reef/statuses/98a02f06879d497f9846e8404da27b7977f3a5ab","head":{"label":"anupam128:REEF-946","ref":"REEF-946","sha":"98a02f06879d497f9846e8404da27b7977f3a5ab","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-11-18T22:10:33Z","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":34632,"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":"405366b6be7deca57f3a95791fec66cb92836a75","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-11-12T04:21:51Z","pushed_at":"2015-11-18T22:21:48Z","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":42932,"stargazers_count":34,"watchers_count":34,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":37,"mirror_url":"git://git.apache.org/incubator-reef.git","open_issues_count":10,"forks":37,"open_issues":10,"watchers":34,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/incubator-reef/pulls/639"},"html":{"href":"https://github.com/apache/incubator-reef/pull/639"},"issue":{"href":"https://api.github.com/repos/apache/incubator-reef/issues/639"},"comments":{"href":"https://api.github.com/repos/apache/incubator-reef/issues/639/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/incubator-reef/pulls/639/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/639/commits"},"statuses":{"href":"https://api.github.com/repos/apache/incubator-reef/statuses/98a02f06879d497f9846e8404da27b7977f3a5ab"}}}}