{"action":"created","comment":{"url":"https://api.github.com/repos/apache/flink/pulls/comments/290331180","pull_request_review_id":244787818,"id":290331180,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI5MDMzMTE4MA==","diff_hunk":"@@ -0,0 +1,355 @@\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, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+\n+package org.apache.flink.runtime.scheduler;\n+\n+import org.apache.flink.api.common.time.Time;\n+import org.apache.flink.runtime.clusterframework.types.AllocationID;\n+import org.apache.flink.runtime.clusterframework.types.ResourceProfile;\n+import org.apache.flink.runtime.executiongraph.TestingSlotProvider;\n+import org.apache.flink.runtime.instance.SlotSharingGroupId;\n+import org.apache.flink.runtime.io.network.partition.ResultPartitionType;\n+import org.apache.flink.runtime.jobgraph.DistributionPattern;\n+import org.apache.flink.runtime.jobgraph.JobVertex;\n+import org.apache.flink.runtime.jobgraph.JobVertexID;\n+import org.apache.flink.runtime.jobmaster.LogicalSlot;\n+import org.apache.flink.runtime.jobmaster.SlotRequestId;\n+import org.apache.flink.runtime.jobmaster.TestingLogicalSlot;\n+import org.apache.flink.runtime.scheduler.strategy.ExecutionVertexID;\n+import org.apache.flink.runtime.taskmanager.LocalTaskManagerLocation;\n+import org.apache.flink.runtime.taskmanager.TaskManagerLocation;\n+import org.apache.flink.runtime.testtasks.NoOpInvokable;\n+import org.apache.flink.util.TestLogger;\n+\n+import org.junit.Before;\n+import org.junit.Test;\n+\n+import java.util.ArrayDeque;\n+import java.util.ArrayList;\n+import java.util.Arrays;\n+import java.util.Collection;\n+import java.util.List;\n+import java.util.Queue;\n+import java.util.Set;\n+import java.util.concurrent.CompletableFuture;\n+\n+import static org.hamcrest.Matchers.contains;\n+import static org.hamcrest.Matchers.containsInAnyOrder;\n+import static org.hamcrest.Matchers.hasSize;\n+import static org.junit.Assert.assertFalse;\n+import static org.junit.Assert.assertThat;\n+import static org.junit.Assert.assertTrue;\n+\n+/**\n+ * Tests for {@link DefaultExecutionSlotAllocator}.\n+ */\n+public class DefaultExecutionSlotAllocatorTest extends TestLogger {\n+\n+\tprivate DefaultExecutionSlotAllocator executionSlotAllocator;\n+\n+\tprivate TestingSlotProvider slotProvider;\n+\n+\tprivate TestingInputsLocationsRetriever testingInputsLocationsRetriever;\n+\n+\tprivate List<ExecutionVertexSchedulingRequirements> schedulingRequirements;\n+\n+\tprivate Queue<CompletableFuture<LogicalSlot>> slotFutures;\n+\n+\tprivate List<SlotRequestId> receivedSlotRequestIds;\n+\n+\tprivate List<SlotRequestId> cancelledSlotRequestIds;\n+\n+\tprivate List<ExecutionVertexID> executionVertexIds;\n+\n+\tprivate int executionVerticesNum;\n+\n+\t@Before\n+\tpublic void setUp() throws Exception {\n+\t\ttestingInputsLocationsRetriever = createSimpleInputsLocationsRetriever();\n+\n+\t\texecutionVerticesNum = testingInputsLocationsRetriever.getTotalNumberOfVertices();\n+\t\treceivedSlotRequestIds = new ArrayList<>(executionVerticesNum);\n+\t\tcancelledSlotRequestIds = new ArrayList<>(executionVerticesNum);\n+\t\tslotFutures = new ArrayDeque<>(executionVerticesNum);\n+\n+\t\tslotProvider = new TestingSlotProvider(slotRequestId -> {\n+\t\t\treceivedSlotRequestIds.add(slotRequestId);\n+\t\t\treturn slotFutures.poll();\n+\t\t});\n+\t\tslotProvider.setSlotCanceller(slotRequestId -> cancelledSlotRequestIds.add(slotRequestId));\n+\n+\t\texecutionSlotAllocator = new DefaultExecutionSlotAllocator(\n+\t\t\t\tslotProvider,\n+\t\t\t\ttestingInputsLocationsRetriever,\n+\t\t\t\tTime.seconds(10),\n+\t\t\t\ttrue);\n+\n+\t\tschedulingRequirements = new ArrayList<>(executionVerticesNum);\n+\t\texecutionVertexIds = new ArrayList<>(executionVerticesNum);\n+\n+\t\tfor (ExecutionVertexID executionVertexId : testingInputsLocationsRetriever.getAllExecutionVertices()) {\n+\t\t\tschedulingRequirements.add(new ExecutionVertexSchedulingRequirements(\n+\t\t\t\t\texecutionVertexId,\n+\t\t\t\t\tnull,\n+\t\t\t\t\tResourceProfile.UNKNOWN,\n+\t\t\t\t\tnew SlotSharingGroupId(),\n+\t\t\t\t\tnull,\n+\t\t\t\t\tnull\n+\t\t\t));\n+\t\t\texecutionVertexIds.add(executionVertexId);\n+\t\t\tslotFutures.add(new CompletableFuture<>());\n+\t\t}\n+\t}\n+\n+\t/**\n+\t * Tests that it will allocate slots from slot provider and remove the slot assignments when request are fulfilled.\n+\t */\n+\t@Test\n+\tpublic void testAllocateSlotsFor() {\n+\t\tList<CompletableFuture<LogicalSlot>> backupSlotFutures = new ArrayList<>(slotFutures);\n+\n+\t\texecutionSlotAllocator.allocateSlotsFor(schedulingRequirements);\n+\n+\t\tassertThat(receivedSlotRequestIds, hasSize(executionVerticesNum / 2));\n+\t\tassertThat(executionSlotAllocator.getPendingSlotAssignments().keySet(), containsInAnyOrder(executionVertexIds.toArray()));\n+\n+\t\tcompleteProducerSlotRequest(backupSlotFutures);\n+\n+\t\tassertThat(receivedSlotRequestIds, hasSize(executionVerticesNum));\n+\t}\n+\n+\t/**\n+\t * Tests that when cancelling a slot request, the request to slot provider should also be cancelled.\n+\t */\n+\t@Test\n+\tpublic void testCancel() {\n+\t\tList<CompletableFuture<LogicalSlot>> backupSlotFutures = new ArrayList<>(slotFutures);\n+\n+\t\texecutionSlotAllocator.allocateSlotsFor(schedulingRequirements);\n+\n+\t\t// cancel a non-existing execution vertex\n+\t\tExecutionVertexID inValidExecutionVertexId = new ExecutionVertexID(new JobVertexID(), 0);\n+\t\texecutionSlotAllocator.cancel(inValidExecutionVertexId);\n+\t\tassertThat(cancelledSlotRequestIds, hasSize(0));\n+\n+\t\tassertThat(receivedSlotRequestIds, hasSize(executionVerticesNum / 2));\n+\n+\t\tcompleteProducerSlotRequest(backupSlotFutures);\n+\n+\t\tfor (ExecutionVertexID executionVertexId : executionVertexIds) {\n+\t\t\texecutionSlotAllocator.cancel(executionVertexId);\n+\t\t}\n+\n+\t\t// only the consumers slot request will be cancelled\n+\t\tList<SlotRequestId> expectCancelledSlotRequestIds =\n+\t\t\t\treceivedSlotRequestIds.subList(executionVerticesNum / 2, executionVerticesNum);\n+\t\tassertThat(cancelledSlotRequestIds, containsInAnyOrder(expectCancelledSlotRequestIds.toArray()));\n+\t}\n+\n+\t/**\n+\t * Tests that all unfulfilled slot requests will be cancelled when stopped.\n+\t */\n+\t@Test\n+\tpublic void testStop() {\n+\t\texecutionSlotAllocator.allocateSlotsFor(schedulingRequirements);\n+\n+\t\t// only the producers will ask for slots as the preferred location futures of consumers are not fulfilled.\n+\t\tassertThat(executionSlotAllocator.getPendingSlotAssignments().keySet(), hasSize(executionVerticesNum));\n+\t\tassertThat(receivedSlotRequestIds, hasSize(executionVerticesNum / 2));\n+\n+\t\texecutionSlotAllocator.stop().getNow(null);\n+\n+\t\tassertThat(cancelledSlotRequestIds, hasSize(executionVerticesNum / 2));\n+\t\tassertThat(cancelledSlotRequestIds, containsInAnyOrder(receivedSlotRequestIds.toArray()));\n+\t\tassertThat(executionSlotAllocator.getPendingSlotAssignments().keySet(), hasSize(0));\n+\t}\n+\n+\t/**\n+\t * Tests that all prior allocation ids are computed by union all previous allocation ids in scheduling requirements.\n+\t */\n+\t@Test\n+\tpublic void testComputeAllPriorAllocationIds() {\n+\t\tList<AllocationID> expectAllocationIds = Arrays.asList(new AllocationID(), new AllocationID());\n+\t\tList<ExecutionVertexSchedulingRequirements> testSchedulingRequirements = Arrays.asList(\n+\t\t\t\tnew ExecutionVertexSchedulingRequirements(\n+\t\t\t\t\t\texecutionVertexIds.get(0),\n+\t\t\t\t\t\texpectAllocationIds.get(0),\n+\t\t\t\t\t\tResourceProfile.UNKNOWN,\n+\t\t\t\t\t\tnull,\n+\t\t\t\t\t\tnull,\n+\t\t\t\t\t\tnull),\n+\t\t\t\tnew ExecutionVertexSchedulingRequirements(\n+\t\t\t\t\t\texecutionVertexIds.get(1),\n+\t\t\t\t\t\texpectAllocationIds.get(0),\n+\t\t\t\t\t\tResourceProfile.UNKNOWN,\n+\t\t\t\t\t\tnull,\n+\t\t\t\t\t\tnull,\n+\t\t\t\t\t\tnull),\n+\t\t\t\tnew ExecutionVertexSchedulingRequirements(\n+\t\t\t\t\t\texecutionVertexIds.get(2),\n+\t\t\t\t\t\texpectAllocationIds.get(1),\n+\t\t\t\t\t\tResourceProfile.UNKNOWN,\n+\t\t\t\t\t\tnull,\n+\t\t\t\t\t\tnull,\n+\t\t\t\t\t\tnull),\n+\t\t\t\tnew ExecutionVertexSchedulingRequirements(\n+\t\t\t\t\t\texecutionVertexIds.get(3),\n+\t\t\t\t\t\tnull,\n+\t\t\t\t\t\tResourceProfile.UNKNOWN,\n+\t\t\t\t\t\tnull,\n+\t\t\t\t\t\tnull,\n+\t\t\t\t\t\tnull)\n+\t\t);\n+\n+\t\tSet<AllocationID> allPriorAllocationIds = executionSlotAllocator.computeAllPriorAllocationIds(testSchedulingRequirements);\n+\t\tassertThat(allPriorAllocationIds, containsInAnyOrder(expectAllocationIds.toArray()));\n+\t}\n+\n+\t/**\n+\t * Tests the calculation of preferred locations based on inputs for an execution.\n+\t */\n+\t@Test\n+\tpublic void testGetPreferredLocationsBasedOnInputs() throws Exception {\n+\t\tJobVertex producer1 = new JobVertex(\"producer1\");\n+\t\tproducer1.setInvokableClass(NoOpInvokable.class);","path":"flink-runtime/src/test/java/org/apache/flink/runtime/scheduler/DefaultExecutionSlotAllocatorTest.java","position":229,"original_position":229,"commit_id":"ffe90d4e229858a67f20cc050c383f8bcbd975cc","original_commit_id":"ffe90d4e229858a67f20cc050c383f8bcbd975cc","user":{"login":"GJL","id":1681921,"node_id":"MDQ6VXNlcjE2ODE5MjE=","avatar_url":"https://avatars2.githubusercontent.com/u/1681921?v=4","gravatar_id":"","url":"https://api.github.com/users/GJL","html_url":"https://github.com/GJL","followers_url":"https://api.github.com/users/GJL/followers","following_url":"https://api.github.com/users/GJL/following{/other_user}","gists_url":"https://api.github.com/users/GJL/gists{/gist_id}","starred_url":"https://api.github.com/users/GJL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GJL/subscriptions","organizations_url":"https://api.github.com/users/GJL/orgs","repos_url":"https://api.github.com/users/GJL/repos","events_url":"https://api.github.com/users/GJL/events{/privacy}","received_events_url":"https://api.github.com/users/GJL/received_events","type":"User","site_admin":false},"body":"Setting the invokable class is not needed and distracts from the actual test logic.","created_at":"2019-06-04T14:37:43Z","updated_at":"2019-06-04T14:56:26Z","html_url":"https://github.com/apache/flink/pull/8486#discussion_r290331180","pull_request_url":"https://api.github.com/repos/apache/flink/pulls/8486","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/apache/flink/pulls/comments/290331180"},"html":{"href":"https://github.com/apache/flink/pull/8486#discussion_r290331180"},"pull_request":{"href":"https://api.github.com/repos/apache/flink/pulls/8486"}}},"pull_request":{"url":"https://api.github.com/repos/apache/flink/pulls/8486","id":280314270,"node_id":"MDExOlB1bGxSZXF1ZXN0MjgwMzE0Mjcw","html_url":"https://github.com/apache/flink/pull/8486","diff_url":"https://github.com/apache/flink/pull/8486.diff","patch_url":"https://github.com/apache/flink/pull/8486.patch","issue_url":"https://api.github.com/repos/apache/flink/issues/8486","number":8486,"state":"open","locked":false,"title":"[FLINK-12372] [runtime] implement ExecutionSlotAllocator","user":{"login":"shuai-xu","id":20960838,"node_id":"MDQ6VXNlcjIwOTYwODM4","avatar_url":"https://avatars3.githubusercontent.com/u/20960838?v=4","gravatar_id":"","url":"https://api.github.com/users/shuai-xu","html_url":"https://github.com/shuai-xu","followers_url":"https://api.github.com/users/shuai-xu/followers","following_url":"https://api.github.com/users/shuai-xu/following{/other_user}","gists_url":"https://api.github.com/users/shuai-xu/gists{/gist_id}","starred_url":"https://api.github.com/users/shuai-xu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shuai-xu/subscriptions","organizations_url":"https://api.github.com/users/shuai-xu/orgs","repos_url":"https://api.github.com/users/shuai-xu/repos","events_url":"https://api.github.com/users/shuai-xu/events{/privacy}","received_events_url":"https://api.github.com/users/shuai-xu/received_events","type":"User","site_admin":false},"body":"\r\n## What is the purpose of the change\r\n\r\n*This pull request introduces the ExecutionSlotAllocator interface related classes and a default implementation. The implementation of ExecutionSlotAllocator will first calculate the preferred locations for the executions and then allocate slots for them. In the future, the calculation of preferred locations will be removed from here to make the ExecutionSlotAllocator more clean.*\r\n\r\n## Verifying this change\r\n\r\nThis change added tests and can be verified as follows:\r\n\r\n  - *Added unit tests in DefaultExecutionSlotAllocatorTest*\r\n\r\n## Does this pull request potentially affect one of the following parts:\r\n\r\n  - Dependencies (does it add or upgrade a dependency): (no)\r\n  - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: (no)\r\n  - The serializers: (no)\r\n  - The runtime per-record code paths (performance sensitive): (no)\r\n  - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)\r\n  - The S3 file system connector: ( no)\r\n\r\n## Documentation\r\n\r\n  - Does this pull request introduce a new feature? ( no)\r\n  - If yes, how is the feature documented? (not applicable)\r\n","created_at":"2019-05-20T09:43:03Z","updated_at":"2019-06-04T14:56:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b3cfd300d376a053d32a1cea4e5ce58a483fd20c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1272994322,"node_id":"MDU6TGFiZWwxMjcyOTk0MzIy","url":"https://api.github.com/repos/apache/flink/labels/component=Runtime/Coordination","name":"component=Runtime/Coordination","color":"175fb7","default":false},{"id":1244454690,"node_id":"MDU6TGFiZWwxMjQ0NDU0Njkw","url":"https://api.github.com/repos/apache/flink/labels/review=description?","name":"review=description?","color":"bcf5db","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/apache/flink/pulls/8486/commits","review_comments_url":"https://api.github.com/repos/apache/flink/pulls/8486/comments","review_comment_url":"https://api.github.com/repos/apache/flink/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/flink/issues/8486/comments","statuses_url":"https://api.github.com/repos/apache/flink/statuses/ffe90d4e229858a67f20cc050c383f8bcbd975cc","head":{"label":"shuai-xu:jira-12372","ref":"jira-12372","sha":"ffe90d4e229858a67f20cc050c383f8bcbd975cc","user":{"login":"shuai-xu","id":20960838,"node_id":"MDQ6VXNlcjIwOTYwODM4","avatar_url":"https://avatars3.githubusercontent.com/u/20960838?v=4","gravatar_id":"","url":"https://api.github.com/users/shuai-xu","html_url":"https://github.com/shuai-xu","followers_url":"https://api.github.com/users/shuai-xu/followers","following_url":"https://api.github.com/users/shuai-xu/following{/other_user}","gists_url":"https://api.github.com/users/shuai-xu/gists{/gist_id}","starred_url":"https://api.github.com/users/shuai-xu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shuai-xu/subscriptions","organizations_url":"https://api.github.com/users/shuai-xu/orgs","repos_url":"https://api.github.com/users/shuai-xu/repos","events_url":"https://api.github.com/users/shuai-xu/events{/privacy}","received_events_url":"https://api.github.com/users/shuai-xu/received_events","type":"User","site_admin":false},"repo":{"id":72626059,"node_id":"MDEwOlJlcG9zaXRvcnk3MjYyNjA1OQ==","name":"flink","full_name":"shuai-xu/flink","private":false,"owner":{"login":"shuai-xu","id":20960838,"node_id":"MDQ6VXNlcjIwOTYwODM4","avatar_url":"https://avatars3.githubusercontent.com/u/20960838?v=4","gravatar_id":"","url":"https://api.github.com/users/shuai-xu","html_url":"https://github.com/shuai-xu","followers_url":"https://api.github.com/users/shuai-xu/followers","following_url":"https://api.github.com/users/shuai-xu/following{/other_user}","gists_url":"https://api.github.com/users/shuai-xu/gists{/gist_id}","starred_url":"https://api.github.com/users/shuai-xu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shuai-xu/subscriptions","organizations_url":"https://api.github.com/users/shuai-xu/orgs","repos_url":"https://api.github.com/users/shuai-xu/repos","events_url":"https://api.github.com/users/shuai-xu/events{/privacy}","received_events_url":"https://api.github.com/users/shuai-xu/received_events","type":"User","site_admin":false},"html_url":"https://github.com/shuai-xu/flink","description":"Mirror of Apache Flink","fork":true,"url":"https://api.github.com/repos/shuai-xu/flink","forks_url":"https://api.github.com/repos/shuai-xu/flink/forks","keys_url":"https://api.github.com/repos/shuai-xu/flink/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shuai-xu/flink/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shuai-xu/flink/teams","hooks_url":"https://api.github.com/repos/shuai-xu/flink/hooks","issue_events_url":"https://api.github.com/repos/shuai-xu/flink/issues/events{/number}","events_url":"https://api.github.com/repos/shuai-xu/flink/events","assignees_url":"https://api.github.com/repos/shuai-xu/flink/assignees{/user}","branches_url":"https://api.github.com/repos/shuai-xu/flink/branches{/branch}","tags_url":"https://api.github.com/repos/shuai-xu/flink/tags","blobs_url":"https://api.github.com/repos/shuai-xu/flink/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shuai-xu/flink/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shuai-xu/flink/git/refs{/sha}","trees_url":"https://api.github.com/repos/shuai-xu/flink/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shuai-xu/flink/statuses/{sha}","languages_url":"https://api.github.com/repos/shuai-xu/flink/languages","stargazers_url":"https://api.github.com/repos/shuai-xu/flink/stargazers","contributors_url":"https://api.github.com/repos/shuai-xu/flink/contributors","subscribers_url":"https://api.github.com/repos/shuai-xu/flink/subscribers","subscription_url":"https://api.github.com/repos/shuai-xu/flink/subscription","commits_url":"https://api.github.com/repos/shuai-xu/flink/commits{/sha}","git_commits_url":"https://api.github.com/repos/shuai-xu/flink/git/commits{/sha}","comments_url":"https://api.github.com/repos/shuai-xu/flink/comments{/number}","issue_comment_url":"https://api.github.com/repos/shuai-xu/flink/issues/comments{/number}","contents_url":"https://api.github.com/repos/shuai-xu/flink/contents/{+path}","compare_url":"https://api.github.com/repos/shuai-xu/flink/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shuai-xu/flink/merges","archive_url":"https://api.github.com/repos/shuai-xu/flink/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shuai-xu/flink/downloads","issues_url":"https://api.github.com/repos/shuai-xu/flink/issues{/number}","pulls_url":"https://api.github.com/repos/shuai-xu/flink/pulls{/number}","milestones_url":"https://api.github.com/repos/shuai-xu/flink/milestones{/number}","notifications_url":"https://api.github.com/repos/shuai-xu/flink/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shuai-xu/flink/labels{/name}","releases_url":"https://api.github.com/repos/shuai-xu/flink/releases{/id}","deployments_url":"https://api.github.com/repos/shuai-xu/flink/deployments","created_at":"2016-11-02T09:51:01Z","updated_at":"2019-05-21T03:10:37Z","pushed_at":"2019-05-31T05:22:50Z","git_url":"git://github.com/shuai-xu/flink.git","ssh_url":"git@github.com:shuai-xu/flink.git","clone_url":"https://github.com/shuai-xu/flink.git","svn_url":"https://github.com/shuai-xu/flink","homepage":null,"size":266166,"stargazers_count":0,"watchers_count":0,"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,"disabled":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"f3cf76bd5442325bdd29fd128bf4e23769b5dccd","user":{"login":"apache","id":47359,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ3MzU5","avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","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":20587599,"node_id":"MDEwOlJlcG9zaXRvcnkyMDU4NzU5OQ==","name":"flink","full_name":"apache/flink","private":false,"owner":{"login":"apache","id":47359,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ3MzU5","avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","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},"html_url":"https://github.com/apache/flink","description":"Apache Flink","fork":false,"url":"https://api.github.com/repos/apache/flink","forks_url":"https://api.github.com/repos/apache/flink/forks","keys_url":"https://api.github.com/repos/apache/flink/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/flink/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/flink/teams","hooks_url":"https://api.github.com/repos/apache/flink/hooks","issue_events_url":"https://api.github.com/repos/apache/flink/issues/events{/number}","events_url":"https://api.github.com/repos/apache/flink/events","assignees_url":"https://api.github.com/repos/apache/flink/assignees{/user}","branches_url":"https://api.github.com/repos/apache/flink/branches{/branch}","tags_url":"https://api.github.com/repos/apache/flink/tags","blobs_url":"https://api.github.com/repos/apache/flink/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/flink/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/flink/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/flink/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/flink/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/flink/languages","stargazers_url":"https://api.github.com/repos/apache/flink/stargazers","contributors_url":"https://api.github.com/repos/apache/flink/contributors","subscribers_url":"https://api.github.com/repos/apache/flink/subscribers","subscription_url":"https://api.github.com/repos/apache/flink/subscription","commits_url":"https://api.github.com/repos/apache/flink/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/flink/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/flink/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/flink/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/flink/contents/{+path}","compare_url":"https://api.github.com/repos/apache/flink/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/flink/merges","archive_url":"https://api.github.com/repos/apache/flink/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/flink/downloads","issues_url":"https://api.github.com/repos/apache/flink/issues{/number}","pulls_url":"https://api.github.com/repos/apache/flink/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/flink/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/flink/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/flink/labels{/name}","releases_url":"https://api.github.com/repos/apache/flink/releases{/id}","deployments_url":"https://api.github.com/repos/apache/flink/deployments","created_at":"2014-06-07T07:00:10Z","updated_at":"2019-06-04T14:33:44Z","pushed_at":"2019-06-04T14:31:55Z","git_url":"git://github.com/apache/flink.git","ssh_url":"git@github.com:apache/flink.git","clone_url":"https://github.com/apache/flink.git","svn_url":"https://github.com/apache/flink","homepage":"","size":241916,"stargazers_count":8897,"watchers_count":8897,"language":"Java","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4747,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":459,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":4747,"open_issues":459,"watchers":8897,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/flink/pulls/8486"},"html":{"href":"https://github.com/apache/flink/pull/8486"},"issue":{"href":"https://api.github.com/repos/apache/flink/issues/8486"},"comments":{"href":"https://api.github.com/repos/apache/flink/issues/8486/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/flink/pulls/8486/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/flink/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/flink/pulls/8486/commits"},"statuses":{"href":"https://api.github.com/repos/apache/flink/statuses/ffe90d4e229858a67f20cc050c383f8bcbd975cc"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"GJL"}}