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 "Tao Yang (Jira)" <ji...@apache.org> on 2024/10/11 06:27:00 UTC

[jira] [Commented] (YARN-11560) Fix NPE bug when multi-node enabled with schedule asynchronously

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

Tao Yang commented on YARN-11560:
---------------------------------

I'm afraid I can't get the point of this ticket. The places which may call CapacityScheduler#allocateFromReservedContainer have already checked that reservedContainer is not null before, so why NPE may happen and it's necessary to add another check at the beginning of CapacityScheduler#allocateFromReservedContainer?

[~zhongwei11] [~ayushtkn] Could you please explain this question for me? Thanks!

> Fix NPE bug when multi-node enabled with schedule asynchronously
> ----------------------------------------------------------------
>
>                 Key: YARN-11560
>                 URL: https://issues.apache.org/jira/browse/YARN-11560
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: capacity scheduler
>    Affects Versions: 3.3.3
>            Reporter: wangzhongwei
>            Assignee: wangzhongwei
>            Priority: Blocker
>              Labels: pull-request-available
>             Fix For: 3.5.0
>
>
> when multiNodePlacementEnabled,using global scheduler,NPE may happend when commit thread calling  allocateFromReservedContainer with param reservedContainer ,while the container may be unreserved by the judgment thread in tryCommit->apply  function 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org