[
https://issues.apache.org/jira/browse/SPARK-4921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14258074#comment-14258074
]
Rui Li commented on SPARK-4921:
-------------------------------
Hi [~sandyr], I thought more on this and maybe the check I mentioned earlier is
enough to avoid resetting {{currentLocalityIndex}}, which means it won't
downgrade performance. Only, it'll be a little confusing for user to find
no_pref tasks are printed as process_local in log.
> Performance issue caused by TaskSetManager returning PROCESS_LOCAL for
> NO_PREF tasks
> -------------------------------------------------------------------------------------
>
> Key: SPARK-4921
> URL: https://issues.apache.org/jira/browse/SPARK-4921
> Project: Spark
> Issue Type: Bug
> Components: Spark Core
> Affects Versions: 1.2.0
> Reporter: Xuefu Zhang
> Attachments: NO_PREF.patch
>
>
> During research for HIVE-9153, we found that TaskSetManager returns
> PROCESS_LOCAL for NO_PREF tasks, which may caused performance degradation.
> Changing the return value to NO_PREF, as demonstrated in the attached patch,
> seemingly improves the performance.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]