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 2018/11/10 10:30:00 UTC

[jira] [Commented] (YARN-9006) TestNodeLabelContainerAllocation fails in branch-3.0

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

Tao Yang commented on YARN-9006:
--------------------------------

These failures are caused by the inconsistent default value of allocationRequestId in yarn_protos.proto and MockAM#allocate: allocationRequestId field of ResourceRequestProto in yarn_protos.proto defined as: optional int64 allocation_request_id = 8 [default = 0], its default value is 0. But set default value to 0 in MockAM#allocate.
In trunk, default value of allocationRequestId in yarn_protos.proto is -1 instead of 0, seems it is updated to 0 in YARN-4888, I'm not sure why this issue is not applied to trunk.

> TestNodeLabelContainerAllocation fails in branch-3.0
> ----------------------------------------------------
>
>                 Key: YARN-9006
>                 URL: https://issues.apache.org/jira/browse/YARN-9006
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: test
>            Reporter: Akira Ajisaka
>            Priority: Major
>
> {noformat}
> [ERROR] Failures: 
> [ERROR]   TestNodeLabelContainerAllocation.testPreferenceOfNeedyPrioritiesUnderSameAppTowardsNodePartitions:848->checkPendingResource:619 expected:<1024> but was:<0>
> [ERROR]   TestNodeLabelContainerAllocation.testPreferenceOfQueuesTowardsNodePartitions:1047->checkPendingResource:619 expected:<5120> but was:<0>
> [ERROR]   TestNodeLabelContainerAllocation.testQueueMetricsWithLabels:2024 expected:<0> but was:<1024>
> [ERROR]   TestNodeLabelContainerAllocation.testQueueMetricsWithLabelsOnDefaultLabelNode:2127 expected:<1024> but was:<2048>
> [INFO] 
> [ERROR] Tests run: 21, Failures: 4, Errors: 0, Skipped: 0
> {noformat}



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