Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-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 B3FA518491 for ; Mon, 27 Apr 2015 01:08:39 +0000 (UTC) Received: (qmail 99686 invoked by uid 500); 27 Apr 2015 01:08:39 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 99633 invoked by uid 500); 27 Apr 2015 01:08:39 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 99621 invoked by uid 99); 27 Apr 2015 01:08:39 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Apr 2015 01:08:39 +0000 Date: Mon, 27 Apr 2015 01:08:39 +0000 (UTC) From: "Allen Wittenauer (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HADOOP-7947) Validate XMLs if a relevant tool is available, when using scripts 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/HADOOP-7947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Allen Wittenauer updated HADOOP-7947: ------------------------------------- Status: Patch Available (was: Open) > Validate XMLs if a relevant tool is available, when using scripts > ----------------------------------------------------------------- > > Key: HADOOP-7947 > URL: https://issues.apache.org/jira/browse/HADOOP-7947 > Project: Hadoop Common > Issue Type: Wish > Components: scripts > Affects Versions: 2.7.0 > Reporter: Harsh J > Assignee: Kengo Seki > Labels: newbie > Attachments: HADOOP-7947.001.patch, HADOOP-7947.002.patch, HADOOP-7947.003.patch, HADOOP-7947.004.patch > > > Given that we are locked down to using only XML for configuration and most of the administrators need to manage it by themselves (unless a tool that manages for you is used), it would be good to also validate the provided config XML (*-site.xml) files with a tool like {{xmllint}} or maybe Xerces somehow, when running a command or (at least) when starting up daemons. > We should use this only if a relevant tool is available, and optionally be silent if the env. requests. -- This message was sent by Atlassian JIRA (v6.3.4#6332)