[
https://issues.apache.org/jira/browse/FLINK-7218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sihua Zhou closed FLINK-7218.
-----------------------------
Resolution: Duplicate
Release Note: Can be resolved in FLINK-7866, closing the PR for this too.
> 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)