Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 7ABCA200B9F for ; Tue, 27 Sep 2016 04:48:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 795B4160ACA; Tue, 27 Sep 2016 02:48:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B931C160AE5 for ; Tue, 27 Sep 2016 04:48:22 +0200 (CEST) Received: (qmail 60148 invoked by uid 500); 27 Sep 2016 02:48:21 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 59773 invoked by uid 99); 27 Sep 2016 02:48:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Sep 2016 02:48:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 638502C2A6A for ; Tue, 27 Sep 2016 02:48:21 +0000 (UTC) Date: Tue, 27 Sep 2016 02:48:21 +0000 (UTC) From: "Miklos Szegedi (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-5575) Many classes use bare yarn. properties instead of the defined constants MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 27 Sep 2016 02:48:23 -0000 [ https://issues.apache.org/jira/browse/YARN-5575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15524859#comment-15524859 ] Miklos Szegedi commented on YARN-5575: -------------------------------------- Hi [~templedf], TestRMApplicationHistoryWriter.java line 392 needs to be split into two lines to follow the style of the other branch. The patch currently looks like: {code} if (isFS) { conf.setBoolean(FairSchedulerConfiguration.ASSIGN_MULTIPLE, true); conf.set(YarnConfiguration.RM_SCHEDULER, FairScheduler.class.getName()); } else { conf.set(YarnConfiguration.RM_SCHEDULER, CapacityScheduler.class.getName()); } {code} > Many classes use bare yarn. properties instead of the defined constants > ----------------------------------------------------------------------- > > Key: YARN-5575 > URL: https://issues.apache.org/jira/browse/YARN-5575 > Project: Hadoop YARN > Issue Type: Improvement > Reporter: Daniel Templeton > Assignee: Daniel Templeton > Attachments: YARN-5575.001.patch > > > MAPREDUCE-5870 introduced the following line: > {code} > conf.setInt("yarn.cluster.max-application-priority", 10); > {code} > It should instead be: > {code} > conf.setInt(YarnConfiguration.MAX_CLUSTER_LEVEL_APPLICATION_PRIORITY, 10); > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: yarn-issues-help@hadoop.apache.org