You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Weiwei Yang (JIRA)" <ji...@apache.org> on 2019/06/06 10:40:00 UTC
[jira] [Commented] (YARN-9590) Correct incompatible, incomplete and
redundant activities
[ https://issues.apache.org/jira/browse/YARN-9590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16857513#comment-16857513 ]
Weiwei Yang commented on YARN-9590:
-----------------------------------
Hi [~Tao Yang]
Thanks, good cleanup, and fixes. Just one thing curious. Currently, ActivitiesManager maintains such a map of queues
ConcurrentMap<ApplicationId, Queue<AppAllocation>> completedAppAllocations
and each queue is a \{{ConcurrentLinkedQueue}}. But since what wanted here is a limited-size queue, why don't you use, e.g guava's EvictingQueue?
> Correct incompatible, incomplete and redundant activities
> ---------------------------------------------------------
>
> Key: YARN-9590
> URL: https://issues.apache.org/jira/browse/YARN-9590
> Project: Hadoop YARN
> Issue Type: Sub-task
> Reporter: Tao Yang
> Assignee: Tao Yang
> Priority: Major
> Attachments: YARN-9590.001.patch, YARN-9590.002.patch, YARN-9590.003.patch
>
>
> Currently some branches in scheduling process may generate incomplete or duplicate activities, we should fix them to make activities clean.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org