{"action":"created","comment":{"url":"https://api.github.com/repos/ryumbra/reef/pulls/comments/166700395","pull_request_review_id":94805844,"id":166700395,"diff_hunk":"@@ -0,0 +1,339 @@\n+/*\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+\n+package org.apache.reef.runime.azbatch.driver;\n+\n+import com.microsoft.azure.batch.BatchClient;\n+import com.microsoft.azure.batch.auth.BatchSharedKeyCredentials;\n+import com.microsoft.azure.batch.protocol.models.ResourceFile;\n+import com.microsoft.azure.batch.protocol.models.TaskAddParameter;\n+import org.apache.reef.annotations.audience.DriverSide;\n+import org.apache.reef.annotations.audience.Private;\n+import org.apache.reef.proto.EvaluatorShimProtocol;\n+import org.apache.reef.runime.azbatch.evaluator.EvaluatorShimConfiguration;\n+import org.apache.reef.runime.azbatch.parameters.AzureBatchAccountKey;\n+import org.apache.reef.runime.azbatch.parameters.AzureBatchAccountName;\n+import org.apache.reef.runime.azbatch.parameters.AzureBatchAccountUri;\n+import org.apache.reef.runime.azbatch.util.AzureStorageUtil;\n+import org.apache.reef.runime.azbatch.util.CommandBuilder;\n+import org.apache.reef.runime.azbatch.util.RemoteIdentifierParser;\n+import org.apache.reef.runtime.common.driver.api.ResourceLaunchEvent;\n+import org.apache.reef.runtime.common.driver.api.ResourceReleaseEvent;\n+import org.apache.reef.runtime.common.driver.api.ResourceRequestEvent;\n+import org.apache.reef.runtime.common.driver.evaluator.pojos.State;\n+import org.apache.reef.runtime.common.driver.resourcemanager.NodeDescriptorEventImpl;\n+import org.apache.reef.runtime.common.driver.resourcemanager.ResourceEventImpl;\n+import org.apache.reef.runtime.common.driver.resourcemanager.RuntimeStatusEventImpl;\n+import org.apache.reef.runtime.common.files.*;\n+import org.apache.reef.tang.Configuration;\n+import org.apache.reef.tang.annotations.Parameter;\n+import org.apache.reef.tang.exceptions.BindException;\n+import org.apache.reef.tang.formats.ConfigurationSerializer;\n+import org.apache.reef.wake.EventHandler;\n+import org.apache.reef.runtime.common.utils.RemoteManager;\n+import org.apache.reef.wake.remote.RemoteMessage;\n+\n+import javax.inject.Inject;\n+import java.io.File;\n+import java.io.IOException;\n+import java.net.URI;\n+import java.util.*;\n+import java.util.concurrent.ConcurrentHashMap;\n+import java.util.logging.Level;\n+import java.util.logging.Logger;\n+\n+import static org.apache.reef.runime.azbatch.driver.RuntimeIdentifier.RUNTIME_NAME;\n+\n+/**\n+ * Evaluator Shim Manager class.\n+ */\n+@Private\n+@DriverSide\n+public final class AzureBatchEvaluatorShimManager\n+    implements EventHandler<RemoteMessage<EvaluatorShimProtocol.EvaluatorShimStatusProto>> {\n+\n+  private static final Logger LOG = Logger.getLogger(AzureBatchEvaluatorShimManager.class.getName());\n+\n+  private static final String AZ_BATCH_JOB_ID_ENV = \"AZ_BATCH_JOB_ID\";\n+\n+  private static final String EVALUATOR_SHIM_CONF_FILE = \"shim.config\";\n+  private static final int EVALUATOR_SHIM_MEMORY_MB = 64;\n+\n+  private final Map<String, ResourceRequestEvent> outstandingResourceRequests;\n+  private final Map<String, String> activeResources;\n+\n+  private AutoCloseable evaluatorShimCommandChannel;\n+\n+  private final AzureStorageUtil azureStorageUtil;\n+  private final REEFFileNames reefFileNames;\n+  private final RemoteManager remoteManager;\n+\n+  private final JobJarMaker jobJarMaker;\n+  private final CommandBuilder launchCommandBuilder;\n+\n+  private final REEFEventHandlers reefEventHandlers;\n+  private final ConfigurationSerializer configurationSerializer;\n+\n+  private final String azureBatchAccountUri;\n+  private final String azureBatchAccountName;\n+  private final String azureBatchAccountKey;\n+\n+  @Inject\n+  AzureBatchEvaluatorShimManager(\n+      final AzureStorageUtil azureStorageUtil,\n+      final REEFFileNames reefFileNames,\n+      final RemoteManager remoteManager,\n+      final REEFEventHandlers reefEventHandlers,\n+      final ConfigurationSerializer configurationSerializer,\n+      final JobJarMaker jobJarMaker,\n+      final CommandBuilder launchCommandBuilder,\n+      @Parameter(AzureBatchAccountUri.class) final String azureBatchAccountUri,\n+      @Parameter(AzureBatchAccountName.class) final String azureBatchAccountName,\n+      @Parameter(AzureBatchAccountKey.class) final String azureBatchAccountKey) {\n+    this.azureStorageUtil = azureStorageUtil;\n+    this.reefFileNames = reefFileNames;\n+    this.remoteManager = remoteManager;\n+\n+    this.reefEventHandlers = reefEventHandlers;\n+    this.configurationSerializer = configurationSerializer;\n+\n+    this.jobJarMaker = jobJarMaker;\n+    this.launchCommandBuilder = launchCommandBuilder;\n+\n+    this.azureBatchAccountKey = azureBatchAccountKey;\n+    this.azureBatchAccountName = azureBatchAccountName;\n+    this.azureBatchAccountUri = azureBatchAccountUri;\n+\n+    this.outstandingResourceRequests = new ConcurrentHashMap<>();\n+    this.activeResources = new ConcurrentHashMap<>();\n+\n+    this.evaluatorShimCommandChannel = remoteManager\n+        .registerHandler(EvaluatorShimProtocol.EvaluatorShimStatusProto.class, this);\n+  }\n+\n+  public void onResourceRequested(final String containerId, final ResourceRequestEvent resourceRequestEvent) {\n+    try {\n+      createAzureBatchTask(containerId);\n+      this.outstandingResourceRequests.put(containerId, resourceRequestEvent);\n+      this.updateRuntimeStatus();\n+    } catch (IOException e) {\n+      throw new RuntimeException(e);\n+    }\n+  }\n+\n+  @Override\n+  public void onNext(final RemoteMessage<EvaluatorShimProtocol.EvaluatorShimStatusProto> statusMessage) {\n+\n+    EvaluatorShimProtocol.EvaluatorShimStatusProto message = statusMessage.getMessage();\n+    String containerId = message.getContainerId();\n+    String remoteId = message.getRemoteIdentifier();\n+\n+    LOG.log(Level.INFO, \"Got a status message from evaluator shim = {0} with containerId = {1}.\",\n+        new String[] {remoteId, containerId});\n+\n+    synchronized (this.outstandingResourceRequests) {\n+      ResourceRequestEvent resourceRequestEvent = AzureBatchEvaluatorShimManager.this\n+          .outstandingResourceRequests\n+          .get(containerId);\n+\n+      if (resourceRequestEvent == null) {\n+        LOG.log(Level.WARNING, \"Received an evaluator shim status message from an unknown \"\n+            + \"evaluator shim. Container id = {0}, remote id = {1}.\", new String[] {containerId, remoteId});\n+      } else {\n+        LOG.log(Level.FINEST, \"Notifying REEF of a new node: {0}\", remoteId);\n+        this.reefEventHandlers.onNodeDescriptor(NodeDescriptorEventImpl.newBuilder()\n+            .setIdentifier(RemoteIdentifierParser.parseNodeId(remoteId))\n+            .setHostName(RemoteIdentifierParser.parseIp(remoteId))\n+            .setPort(RemoteIdentifierParser.parsePort(remoteId))\n+            .setMemorySize(resourceRequestEvent.getMemorySize().get())\n+            .build());\n+\n+        LOG.log(Level.FINEST, \"Firing a new ResourceAllocationEvent for remoteId = {0}.\", remoteId);\n+        this.reefEventHandlers.onResourceAllocation(\n+            ResourceEventImpl.newAllocationBuilder()\n+                .setIdentifier(containerId)\n+                .setNodeId(RemoteIdentifierParser.parseNodeId(remoteId))\n+                .setResourceMemory(resourceRequestEvent.getMemorySize().get())\n+                .setVirtualCores(resourceRequestEvent.getVirtualCores().get())\n+                .setRuntimeName(RuntimeIdentifier.RUNTIME_NAME)\n+                .build());\n+      }\n+\n+      this.outstandingResourceRequests.remove(containerId);\n+    }\n+\n+    this.activeResources.put(containerId, remoteId);\n+    this.updateRuntimeStatus();\n+  }\n+\n+  public void onResourceLaunched(final ResourceLaunchEvent resourceLaunchEvent,\n+                                 final String command,\n+                                 final String evaluatorConfigurationString) {\n+\n+    String resourceRemoteId = this.activeResources.get(resourceLaunchEvent.getIdentifier());\n+\n+    EventHandler<EvaluatorShimProtocol.EvaluatorShimControlProto> handler =\n+        AzureBatchEvaluatorShimManager.this.remoteManager.getHandler(resourceRemoteId,\n+            EvaluatorShimProtocol.EvaluatorShimControlProto.class);\n+\n+    LOG.log(Level.INFO, \"Sending a command to the Evaluator shim to start the evaluator.\");\n+    handler.onNext(\n+        EvaluatorShimProtocol.EvaluatorShimControlProto\n+            .newBuilder()\n+            .setCommand(EvaluatorShimProtocol.EvaluatorShimCommand.EVALUATOR_LAUNCH)\n+            .setEvaluatorLaunchCommand(command)\n+            .setEvaluatorConfigString(evaluatorConfigurationString)\n+            .build());\n+    this.updateRuntimeStatus();\n+  }\n+\n+  public void onResourceReleased(final ResourceReleaseEvent resourceReleaseEvent) {\n+\n+    synchronized (this.activeResources) {\n+      String remoteId = this.activeResources.get(resourceReleaseEvent.getIdentifier());\n+\n+      if (!this.activeResources.containsKey(resourceReleaseEvent.getIdentifier())) {\n+        LOG.log(Level.WARNING, \"Received a ResourceReleaseEvent for an unknown resource id = {0}.\",\n+            resourceReleaseEvent.getIdentifier());\n+      } else {\n+        EventHandler<EvaluatorShimProtocol.EvaluatorShimControlProto> handler =\n+            AzureBatchEvaluatorShimManager.this.remoteManager.getHandler(remoteId,\n+                EvaluatorShimProtocol.EvaluatorShimControlProto.class);\n+\n+        LOG.log(Level.INFO, \"Sending a TERMINATE command to the evaluator shim with remoteId = {0}.\", remoteId);\n+        handler.onNext(\n+            EvaluatorShimProtocol.EvaluatorShimControlProto\n+                .newBuilder()\n+                .setCommand(EvaluatorShimProtocol.EvaluatorShimCommand.TERMINATE)\n+                .build());\n+      }\n+\n+      this.activeResources.remove(resourceReleaseEvent.getIdentifier());\n+    }\n+\n+    this.updateRuntimeStatus();\n+  }\n+\n+  public void onClose() {\n+    try {\n+      evaluatorShimCommandChannel.close();","path":"lang/java/reef-runtime-azbatch/src/main/java/org/apache/reef/runime/azbatch/driver/AzureBatchEvaluatorShimManager.java","position":null,"original_position":235,"commit_id":"04f25f63381b917d41a5ccfa78ef4c91c5d30fb8","original_commit_id":"7b1026c622745b37d3e839b7d1f17ec15bab41c1","user":{"login":"homezcx","id":14841471,"avatar_url":"https://avatars0.githubusercontent.com/u/14841471?v=4","gravatar_id":"","url":"https://api.github.com/users/homezcx","html_url":"https://github.com/homezcx","followers_url":"https://api.github.com/users/homezcx/followers","following_url":"https://api.github.com/users/homezcx/following{/other_user}","gists_url":"https://api.github.com/users/homezcx/gists{/gist_id}","starred_url":"https://api.github.com/users/homezcx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/homezcx/subscriptions","organizations_url":"https://api.github.com/users/homezcx/orgs","repos_url":"https://api.github.com/users/homezcx/repos","events_url":"https://api.github.com/users/homezcx/events{/privacy}","received_events_url":"https://api.github.com/users/homezcx/received_events","type":"User","site_admin":false},"body":"I checked through remoteManager. It seems they actually didn't use try block to make sure it closes. In that case, closing it here is better. I will send an email to dev list to check it. I think it is good enough here.","created_at":"2018-02-07T17:52:25Z","updated_at":"2018-02-07T17:52:25Z","html_url":"https://github.com/ryumbra/reef/pull/16#discussion_r166700395","pull_request_url":"https://api.github.com/repos/ryumbra/reef/pulls/16","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/ryumbra/reef/pulls/comments/166700395"},"html":{"href":"https://github.com/ryumbra/reef/pull/16#discussion_r166700395"},"pull_request":{"href":"https://api.github.com/repos/ryumbra/reef/pulls/16"}},"in_reply_to_id":166394478},"pull_request":{"url":"https://api.github.com/repos/ryumbra/reef/pulls/16","id":167293559,"html_url":"https://github.com/ryumbra/reef/pull/16","diff_url":"https://github.com/ryumbra/reef/pull/16.diff","patch_url":"https://github.com/ryumbra/reef/pull/16.patch","issue_url":"https://api.github.com/repos/ryumbra/reef/issues/16","number":16,"state":"closed","locked":false,"title":"Adding Evaluator Shim for Azure Batch runtime.","user":{"login":"ryumbra","id":22202592,"avatar_url":"https://avatars1.githubusercontent.com/u/22202592?v=4","gravatar_id":"","url":"https://api.github.com/users/ryumbra","html_url":"https://github.com/ryumbra","followers_url":"https://api.github.com/users/ryumbra/followers","following_url":"https://api.github.com/users/ryumbra/following{/other_user}","gists_url":"https://api.github.com/users/ryumbra/gists{/gist_id}","starred_url":"https://api.github.com/users/ryumbra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryumbra/subscriptions","organizations_url":"https://api.github.com/users/ryumbra/orgs","repos_url":"https://api.github.com/users/ryumbra/repos","events_url":"https://api.github.com/users/ryumbra/events{/privacy}","received_events_url":"https://api.github.com/users/ryumbra/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-02-06T00:49:06Z","updated_at":"2018-02-07T17:52:25Z","closed_at":"2018-02-07T01:12:01Z","merged_at":"2018-02-07T01:12:01Z","merge_commit_sha":"a8e8266b67da6c72f6f913e95002c397b1f60a33","assignee":{"login":"dwaijam","id":640582,"avatar_url":"https://avatars2.githubusercontent.com/u/640582?v=4","gravatar_id":"","url":"https://api.github.com/users/dwaijam","html_url":"https://github.com/dwaijam","followers_url":"https://api.github.com/users/dwaijam/followers","following_url":"https://api.github.com/users/dwaijam/following{/other_user}","gists_url":"https://api.github.com/users/dwaijam/gists{/gist_id}","starred_url":"https://api.github.com/users/dwaijam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwaijam/subscriptions","organizations_url":"https://api.github.com/users/dwaijam/orgs","repos_url":"https://api.github.com/users/dwaijam/repos","events_url":"https://api.github.com/users/dwaijam/events{/privacy}","received_events_url":"https://api.github.com/users/dwaijam/received_events","type":"User","site_admin":false},"assignees":[{"login":"dwaijam","id":640582,"avatar_url":"https://avatars2.githubusercontent.com/u/640582?v=4","gravatar_id":"","url":"https://api.github.com/users/dwaijam","html_url":"https://github.com/dwaijam","followers_url":"https://api.github.com/users/dwaijam/followers","following_url":"https://api.github.com/users/dwaijam/following{/other_user}","gists_url":"https://api.github.com/users/dwaijam/gists{/gist_id}","starred_url":"https://api.github.com/users/dwaijam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwaijam/subscriptions","organizations_url":"https://api.github.com/users/dwaijam/orgs","repos_url":"https://api.github.com/users/dwaijam/repos","events_url":"https://api.github.com/users/dwaijam/events{/privacy}","received_events_url":"https://api.github.com/users/dwaijam/received_events","type":"User","site_admin":false},{"login":"sharathmalladi","id":9726998,"avatar_url":"https://avatars0.githubusercontent.com/u/9726998?v=4","gravatar_id":"","url":"https://api.github.com/users/sharathmalladi","html_url":"https://github.com/sharathmalladi","followers_url":"https://api.github.com/users/sharathmalladi/followers","following_url":"https://api.github.com/users/sharathmalladi/following{/other_user}","gists_url":"https://api.github.com/users/sharathmalladi/gists{/gist_id}","starred_url":"https://api.github.com/users/sharathmalladi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sharathmalladi/subscriptions","organizations_url":"https://api.github.com/users/sharathmalladi/orgs","repos_url":"https://api.github.com/users/sharathmalladi/repos","events_url":"https://api.github.com/users/sharathmalladi/events{/privacy}","received_events_url":"https://api.github.com/users/sharathmalladi/received_events","type":"User","site_admin":false},{"login":"mandyshieh","id":10294689,"avatar_url":"https://avatars1.githubusercontent.com/u/10294689?v=4","gravatar_id":"","url":"https://api.github.com/users/mandyshieh","html_url":"https://github.com/mandyshieh","followers_url":"https://api.github.com/users/mandyshieh/followers","following_url":"https://api.github.com/users/mandyshieh/following{/other_user}","gists_url":"https://api.github.com/users/mandyshieh/gists{/gist_id}","starred_url":"https://api.github.com/users/mandyshieh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mandyshieh/subscriptions","organizations_url":"https://api.github.com/users/mandyshieh/orgs","repos_url":"https://api.github.com/users/mandyshieh/repos","events_url":"https://api.github.com/users/mandyshieh/events{/privacy}","received_events_url":"https://api.github.com/users/mandyshieh/received_events","type":"User","site_admin":false},{"login":"homezcx","id":14841471,"avatar_url":"https://avatars0.githubusercontent.com/u/14841471?v=4","gravatar_id":"","url":"https://api.github.com/users/homezcx","html_url":"https://github.com/homezcx","followers_url":"https://api.github.com/users/homezcx/followers","following_url":"https://api.github.com/users/homezcx/following{/other_user}","gists_url":"https://api.github.com/users/homezcx/gists{/gist_id}","starred_url":"https://api.github.com/users/homezcx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/homezcx/subscriptions","organizations_url":"https://api.github.com/users/homezcx/orgs","repos_url":"https://api.github.com/users/homezcx/repos","events_url":"https://api.github.com/users/homezcx/events{/privacy}","received_events_url":"https://api.github.com/users/homezcx/received_events","type":"User","site_admin":false},{"login":"tyclintw","id":19498033,"avatar_url":"https://avatars0.githubusercontent.com/u/19498033?v=4","gravatar_id":"","url":"https://api.github.com/users/tyclintw","html_url":"https://github.com/tyclintw","followers_url":"https://api.github.com/users/tyclintw/followers","following_url":"https://api.github.com/users/tyclintw/following{/other_user}","gists_url":"https://api.github.com/users/tyclintw/gists{/gist_id}","starred_url":"https://api.github.com/users/tyclintw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tyclintw/subscriptions","organizations_url":"https://api.github.com/users/tyclintw/orgs","repos_url":"https://api.github.com/users/tyclintw/repos","events_url":"https://api.github.com/users/tyclintw/events{/privacy}","received_events_url":"https://api.github.com/users/tyclintw/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/ryumbra/reef/pulls/16/commits","review_comments_url":"https://api.github.com/repos/ryumbra/reef/pulls/16/comments","review_comment_url":"https://api.github.com/repos/ryumbra/reef/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ryumbra/reef/issues/16/comments","statuses_url":"https://api.github.com/repos/ryumbra/reef/statuses/04f25f63381b917d41a5ccfa78ef4c91c5d30fb8","head":{"label":"ryumbra:users/ryumbra/eval-shim","ref":"users/ryumbra/eval-shim","sha":"04f25f63381b917d41a5ccfa78ef4c91c5d30fb8","user":{"login":"ryumbra","id":22202592,"avatar_url":"https://avatars1.githubusercontent.com/u/22202592?v=4","gravatar_id":"","url":"https://api.github.com/users/ryumbra","html_url":"https://github.com/ryumbra","followers_url":"https://api.github.com/users/ryumbra/followers","following_url":"https://api.github.com/users/ryumbra/following{/other_user}","gists_url":"https://api.github.com/users/ryumbra/gists{/gist_id}","starred_url":"https://api.github.com/users/ryumbra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryumbra/subscriptions","organizations_url":"https://api.github.com/users/ryumbra/orgs","repos_url":"https://api.github.com/users/ryumbra/repos","events_url":"https://api.github.com/users/ryumbra/events{/privacy}","received_events_url":"https://api.github.com/users/ryumbra/received_events","type":"User","site_admin":false},"repo":{"id":116315393,"name":"reef","full_name":"ryumbra/reef","owner":{"login":"ryumbra","id":22202592,"avatar_url":"https://avatars1.githubusercontent.com/u/22202592?v=4","gravatar_id":"","url":"https://api.github.com/users/ryumbra","html_url":"https://github.com/ryumbra","followers_url":"https://api.github.com/users/ryumbra/followers","following_url":"https://api.github.com/users/ryumbra/following{/other_user}","gists_url":"https://api.github.com/users/ryumbra/gists{/gist_id}","starred_url":"https://api.github.com/users/ryumbra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryumbra/subscriptions","organizations_url":"https://api.github.com/users/ryumbra/orgs","repos_url":"https://api.github.com/users/ryumbra/repos","events_url":"https://api.github.com/users/ryumbra/events{/privacy}","received_events_url":"https://api.github.com/users/ryumbra/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ryumbra/reef","description":"Mirror of Apache REEF","fork":true,"url":"https://api.github.com/repos/ryumbra/reef","forks_url":"https://api.github.com/repos/ryumbra/reef/forks","keys_url":"https://api.github.com/repos/ryumbra/reef/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ryumbra/reef/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ryumbra/reef/teams","hooks_url":"https://api.github.com/repos/ryumbra/reef/hooks","issue_events_url":"https://api.github.com/repos/ryumbra/reef/issues/events{/number}","events_url":"https://api.github.com/repos/ryumbra/reef/events","assignees_url":"https://api.github.com/repos/ryumbra/reef/assignees{/user}","branches_url":"https://api.github.com/repos/ryumbra/reef/branches{/branch}","tags_url":"https://api.github.com/repos/ryumbra/reef/tags","blobs_url":"https://api.github.com/repos/ryumbra/reef/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ryumbra/reef/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ryumbra/reef/git/refs{/sha}","trees_url":"https://api.github.com/repos/ryumbra/reef/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ryumbra/reef/statuses/{sha}","languages_url":"https://api.github.com/repos/ryumbra/reef/languages","stargazers_url":"https://api.github.com/repos/ryumbra/reef/stargazers","contributors_url":"https://api.github.com/repos/ryumbra/reef/contributors","subscribers_url":"https://api.github.com/repos/ryumbra/reef/subscribers","subscription_url":"https://api.github.com/repos/ryumbra/reef/subscription","commits_url":"https://api.github.com/repos/ryumbra/reef/commits{/sha}","git_commits_url":"https://api.github.com/repos/ryumbra/reef/git/commits{/sha}","comments_url":"https://api.github.com/repos/ryumbra/reef/comments{/number}","issue_comment_url":"https://api.github.com/repos/ryumbra/reef/issues/comments{/number}","contents_url":"https://api.github.com/repos/ryumbra/reef/contents/{+path}","compare_url":"https://api.github.com/repos/ryumbra/reef/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ryumbra/reef/merges","archive_url":"https://api.github.com/repos/ryumbra/reef/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ryumbra/reef/downloads","issues_url":"https://api.github.com/repos/ryumbra/reef/issues{/number}","pulls_url":"https://api.github.com/repos/ryumbra/reef/pulls{/number}","milestones_url":"https://api.github.com/repos/ryumbra/reef/milestones{/number}","notifications_url":"https://api.github.com/repos/ryumbra/reef/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ryumbra/reef/labels{/name}","releases_url":"https://api.github.com/repos/ryumbra/reef/releases{/id}","deployments_url":"https://api.github.com/repos/ryumbra/reef/deployments","created_at":"2018-01-04T22:51:34Z","updated_at":"2018-01-17T22:08:25Z","pushed_at":"2018-02-07T17:49:50Z","git_url":"git://github.com/ryumbra/reef.git","ssh_url":"git@github.com:ryumbra/reef.git","clone_url":"https://github.com/ryumbra/reef.git","svn_url":"https://github.com/ryumbra/reef","homepage":"","size":39436,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":0,"open_issues":3,"watchers":1,"default_branch":"master"}},"base":{"label":"ryumbra:features/azbatch-runtime","ref":"features/azbatch-runtime","sha":"fafb347fba37105a1e7ffbbbb2cd5237afbdb709","user":{"login":"ryumbra","id":22202592,"avatar_url":"https://avatars1.githubusercontent.com/u/22202592?v=4","gravatar_id":"","url":"https://api.github.com/users/ryumbra","html_url":"https://github.com/ryumbra","followers_url":"https://api.github.com/users/ryumbra/followers","following_url":"https://api.github.com/users/ryumbra/following{/other_user}","gists_url":"https://api.github.com/users/ryumbra/gists{/gist_id}","starred_url":"https://api.github.com/users/ryumbra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryumbra/subscriptions","organizations_url":"https://api.github.com/users/ryumbra/orgs","repos_url":"https://api.github.com/users/ryumbra/repos","events_url":"https://api.github.com/users/ryumbra/events{/privacy}","received_events_url":"https://api.github.com/users/ryumbra/received_events","type":"User","site_admin":false},"repo":{"id":116315393,"name":"reef","full_name":"ryumbra/reef","owner":{"login":"ryumbra","id":22202592,"avatar_url":"https://avatars1.githubusercontent.com/u/22202592?v=4","gravatar_id":"","url":"https://api.github.com/users/ryumbra","html_url":"https://github.com/ryumbra","followers_url":"https://api.github.com/users/ryumbra/followers","following_url":"https://api.github.com/users/ryumbra/following{/other_user}","gists_url":"https://api.github.com/users/ryumbra/gists{/gist_id}","starred_url":"https://api.github.com/users/ryumbra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryumbra/subscriptions","organizations_url":"https://api.github.com/users/ryumbra/orgs","repos_url":"https://api.github.com/users/ryumbra/repos","events_url":"https://api.github.com/users/ryumbra/events{/privacy}","received_events_url":"https://api.github.com/users/ryumbra/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ryumbra/reef","description":"Mirror of Apache REEF","fork":true,"url":"https://api.github.com/repos/ryumbra/reef","forks_url":"https://api.github.com/repos/ryumbra/reef/forks","keys_url":"https://api.github.com/repos/ryumbra/reef/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ryumbra/reef/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ryumbra/reef/teams","hooks_url":"https://api.github.com/repos/ryumbra/reef/hooks","issue_events_url":"https://api.github.com/repos/ryumbra/reef/issues/events{/number}","events_url":"https://api.github.com/repos/ryumbra/reef/events","assignees_url":"https://api.github.com/repos/ryumbra/reef/assignees{/user}","branches_url":"https://api.github.com/repos/ryumbra/reef/branches{/branch}","tags_url":"https://api.github.com/repos/ryumbra/reef/tags","blobs_url":"https://api.github.com/repos/ryumbra/reef/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ryumbra/reef/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ryumbra/reef/git/refs{/sha}","trees_url":"https://api.github.com/repos/ryumbra/reef/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ryumbra/reef/statuses/{sha}","languages_url":"https://api.github.com/repos/ryumbra/reef/languages","stargazers_url":"https://api.github.com/repos/ryumbra/reef/stargazers","contributors_url":"https://api.github.com/repos/ryumbra/reef/contributors","subscribers_url":"https://api.github.com/repos/ryumbra/reef/subscribers","subscription_url":"https://api.github.com/repos/ryumbra/reef/subscription","commits_url":"https://api.github.com/repos/ryumbra/reef/commits{/sha}","git_commits_url":"https://api.github.com/repos/ryumbra/reef/git/commits{/sha}","comments_url":"https://api.github.com/repos/ryumbra/reef/comments{/number}","issue_comment_url":"https://api.github.com/repos/ryumbra/reef/issues/comments{/number}","contents_url":"https://api.github.com/repos/ryumbra/reef/contents/{+path}","compare_url":"https://api.github.com/repos/ryumbra/reef/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ryumbra/reef/merges","archive_url":"https://api.github.com/repos/ryumbra/reef/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ryumbra/reef/downloads","issues_url":"https://api.github.com/repos/ryumbra/reef/issues{/number}","pulls_url":"https://api.github.com/repos/ryumbra/reef/pulls{/number}","milestones_url":"https://api.github.com/repos/ryumbra/reef/milestones{/number}","notifications_url":"https://api.github.com/repos/ryumbra/reef/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ryumbra/reef/labels{/name}","releases_url":"https://api.github.com/repos/ryumbra/reef/releases{/id}","deployments_url":"https://api.github.com/repos/ryumbra/reef/deployments","created_at":"2018-01-04T22:51:34Z","updated_at":"2018-01-17T22:08:25Z","pushed_at":"2018-02-07T17:49:50Z","git_url":"git://github.com/ryumbra/reef.git","ssh_url":"git@github.com:ryumbra/reef.git","clone_url":"https://github.com/ryumbra/reef.git","svn_url":"https://github.com/ryumbra/reef","homepage":"","size":39436,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":0,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ryumbra/reef/pulls/16"},"html":{"href":"https://github.com/ryumbra/reef/pull/16"},"issue":{"href":"https://api.github.com/repos/ryumbra/reef/issues/16"},"comments":{"href":"https://api.github.com/repos/ryumbra/reef/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/ryumbra/reef/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/ryumbra/reef/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ryumbra/reef/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/ryumbra/reef/statuses/04f25f63381b917d41a5ccfa78ef4c91c5d30fb8"}},"author_association":"OWNER"}}
{"actor":{"display_login":"homezcx"}}