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 E8E02172F0 for ; Fri, 30 Jan 2015 19:20:34 +0000 (UTC) Received: (qmail 64487 invoked by uid 500); 30 Jan 2015 19:20:35 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 64442 invoked by uid 500); 30 Jan 2015 19:20:35 -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 64430 invoked by uid 99); 30 Jan 2015 19:20:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Jan 2015 19:20:35 +0000 Date: Fri, 30 Jan 2015 19:20:35 +0000 (UTC) From: "Ray Chiang (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (YARN-3107) Update TestYarnConfigurationFields to flag missing properties in yarn-default.xml with an error 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-3107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ray Chiang updated YARN-3107: ----------------------------- Attachment: YARN-3107.001.patch Get an example checked in. Can't turn on until yarn-default.xml is clean. - Set flag to check xml files - Add SCMStore properties to ignore - Add ATS v1 properties to ignore > Update TestYarnConfigurationFields to flag missing properties in yarn-default.xml with an error > ----------------------------------------------------------------------------------------------- > > Key: YARN-3107 > URL: https://issues.apache.org/jira/browse/YARN-3107 > Project: Hadoop YARN > Issue Type: Improvement > Reporter: Ray Chiang > Assignee: Ray Chiang > Labels: supportability > Attachments: YARN-3107.001.patch > > > TestYarnConfigurationFields currently makes sure each property in yarn-default.xml is documented in one of the YARN configuration Java classes. The reverse check can be turned on once the each YARN property is: > A) documented in yarn-default.xml OR > B) listed as an exception (with comments, e.g. for internal use) in the TestYarnConfigurationFields unit test -- This message was sent by Atlassian JIRA (v6.3.4#6332)