You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Sihua Zhou (JIRA)" <ji...@apache.org> on 2017/07/18 13:43:01 UTC

[jira] [Created] (FLINK-7218) ExecutionVertex.getPreferredLocationsBasedOnInputs() will always return empty

Sihua Zhou created FLINK-7218:
---------------------------------

             Summary: ExecutionVertex.getPreferredLocationsBasedOnInputs() will always return empty
                 Key: FLINK-7218
                 URL: https://issues.apache.org/jira/browse/FLINK-7218
             Project: Flink
          Issue Type: Bug
          Components: JobManager
    Affects Versions: 1.3.1
            Reporter: Sihua Zhou
            Assignee: Sihua Zhou


This 's a subtask of [FLINK-7153|https://issues.apache.org/jira/browse/FLINK-7153?filter=-2].

The ExecutionVertex.getPreferredLocationsBasedOnInputs will always return empty, cause `sourceSlot` always be null until `ExectionVertex` has been deployed via 'Execution.deployToSlot()'. So allocate resource base on prefered location can't work correctly, we need to set the slot info for `Execution` as soon as Execution.allocateSlotForExecution() called successfully.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)