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/19 16:32:00 UTC

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

    [ https://issues.apache.org/jira/browse/FLINK-7218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16093373#comment-16093373 ] 

Sihua Zhou commented on FLINK-7218:
-----------------------------------

I made a PR for this issue, can anybody review for me? [[Flink-7218] [JobManager] ExecutionVertex.getPreferredLocationsBasedOnInputs() will always return empty|https://github.com/apache/flink/pull/4369

Thanks,
Sihua Zhou

> 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)