Return-Path: X-Original-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 91F09178CC for ; Sun, 26 Oct 2014 22:09:34 +0000 (UTC) Received: (qmail 44428 invoked by uid 500); 26 Oct 2014 22:09:34 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 44376 invoked by uid 500); 26 Oct 2014 22:09:34 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-issues@hadoop.apache.org Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 44364 invoked by uid 99); 26 Oct 2014 22:09:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Oct 2014 22:09:34 +0000 Date: Sun, 26 Oct 2014 22:09:34 +0000 (UTC) From: "Tsuyoshi OZAWA (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-2712) Adding tests about FSQueue and headroom of FairScheduler to TestWorkPreservingRMRestart MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/YARN-2712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14184679#comment-14184679 ] Tsuyoshi OZAWA commented on YARN-2712: -------------------------------------- [~adhoot] [~kkambatl], oops, I misread the previous review comment from Karthik. Thanks for your review, Anubhav. > Adding tests about FSQueue and headroom of FairScheduler to TestWorkPreservingRMRestart > --------------------------------------------------------------------------------------- > > Key: YARN-2712 > URL: https://issues.apache.org/jira/browse/YARN-2712 > Project: Hadoop YARN > Issue Type: Sub-task > Components: resourcemanager > Reporter: Tsuyoshi OZAWA > Assignee: Tsuyoshi OZAWA > Attachments: YARN-2712.1.patch, YARN-2712.2.patch > > > TestWorkPreservingRMRestart#testSchedulerRecovery doesn't have test cases about FairScheduler partially. We should support them. > {code} > // Until YARN-1959 is resolved > if (scheduler.getClass() != FairScheduler.class) { > assertEquals(availableResources, schedulerAttempt.getHeadroom()); > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)