hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Kanter (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-7146) Many RM unit tests failing with FairScheduler
Date Wed, 06 Sep 2017 23:57:00 GMT

     [ https://issues.apache.org/jira/browse/YARN-7146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Robert Kanter updated YARN-7146:
    Attachment: YARN-7146.002.patch

The 002 patch:
- Adds docs for the update() method
- Makes {{ParameterizedSchedulerTestBase}} actually parameterized so that its subclasses run
with both FS and CS
-- Also minor fixes to some of the tests to get this to work right
- Does lots of refactoring to {{TestSchedulingWithAllocationRequestId}}, which was using some
wacky APIs and was very flakey with FS.  I've cleaned that up and gotten it to work with FS

> Many RM unit tests failing with FairScheduler
> ---------------------------------------------
>                 Key: YARN-7146
>                 URL: https://issues.apache.org/jira/browse/YARN-7146
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 3.0.0-beta1
>            Reporter: Robert Kanter
>            Assignee: Robert Kanter
>         Attachments: YARN-7146.001.patch, YARN-7146.002.patch
> Many of the RM unit tests are failing when using the FairScheduler.  
> Here is a list of affected test classes:
> {noformat}
> TestYarnClient
> TestApplicationCleanup
> TestApplicationMasterLauncher
> TestDecommissioningNodesWatcher
> TestKillApplicationWithRMHA
> TestNodeBlacklistingOnAMFailures
> TestRM
> TestRMAdminService
> TestRMRestart
> TestResourceTrackerService
> TestWorkPreservingRMRestart
> TestAMRMRPCNodeUpdates
> TestAMRMRPCResponseId
> TestAMRestart
> TestApplicationLifetimeMonitor
> TestNodesListManager
> TestRMContainerImpl
> TestAbstractYarnScheduler
> TestSchedulerUtils
> TestFairOrderingPolicy
> TestAMRMTokens
> TestDelegationTokenRenewer
> {noformat}
> Most of the test methods in these classes are failing, though some do succeed.
> There's two main categories of issues:
> # The test submits an application to the {{MockRM}} and waits for it to enter a specific
state, which it never does, and the test times out.  We need to call {{update()}} on the scheduler.
> # The test throws a {{ClassCastException}} on {{FSQueueMetrics}} to {{CSQueueMetrics}}.
 This is because {{QueueMetrics}} metrics are static, and a previous test using FairScheduler
initialized it, and the current test is using CapacityScheduler.  We need to reset the metrics.

This message was sent by Atlassian JIRA

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

View raw message