Return-Path: Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: (qmail 17545 invoked from network); 15 Nov 2010 22:34:05 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Nov 2010 22:34:05 -0000 Received: (qmail 66205 invoked by uid 500); 15 Nov 2010 22:34:37 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 66179 invoked by uid 500); 15 Nov 2010 22:34:37 -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 66170 invoked by uid 99); 15 Nov 2010 22:34:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Nov 2010 22:34:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Nov 2010 22:34:35 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oAFMYDrN017464 for ; Mon, 15 Nov 2010 22:34:13 GMT Message-ID: <3545807.93161289860453850.JavaMail.jira@thor> Date: Mon, 15 Nov 2010 17:34:13 -0500 (EST) From: "Allen Wittenauer (JIRA)" To: common-issues@hadoop.apache.org Subject: [jira] Commented: (HADOOP-7036) spellcheck for configuration In-Reply-To: <1451380.92811289859735196.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-7036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12932236#action_12932236 ] Allen Wittenauer commented on HADOOP-7036: ------------------------------------------ Errr, don't we just need a schema definition and we can do this with any number of xml tools? > spellcheck for configuration > ---------------------------- > > Key: HADOOP-7036 > URL: https://issues.apache.org/jira/browse/HADOOP-7036 > Project: Hadoop Common > Issue Type: New Feature > Components: conf > Reporter: Ari Rabkin > Assignee: Ari Rabkin > Attachments: confspellcheck.jar, hadoopSpellcheck.patch > > > Hadoop does fairly limited correctness checks of its configuration. I propose a "configuration spellcheck" that can automatically catch errors, and particularly can catch cases where users mis-type the name of an option. > The system works as follows: > - Use program analysis to extract the set of options supported by each Hadoop version, annotated when possible with their types into a 'dictionary file'. > - Distribute these extracted sets, per version. > - A script that reads a dictionary file, reads the Hadoop config from a specified directory, and reports deviations. In particular, the system can report when an option is set that Hadoop will never read or when an invalid value is specified. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.