Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 54222 invoked from network); 26 Sep 2008 00:12:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Sep 2008 00:12:37 -0000 Received: (qmail 64640 invoked by uid 500); 26 Sep 2008 00:12:33 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 64616 invoked by uid 500); 26 Sep 2008 00:12:33 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 64605 invoked by uid 99); 26 Sep 2008 00:12:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Sep 2008 17:12:33 -0700 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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Sep 2008 00:11:40 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C6F35234C211 for ; Thu, 25 Sep 2008 17:11:44 -0700 (PDT) Message-ID: <1839985702.1222387904814.JavaMail.jira@brutus> Date: Thu, 25 Sep 2008 17:11:44 -0700 (PDT) From: "Tsz Wo (Nicholas), SZE (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-4212) New lines and leading spaces are not trimmed of a value when configuration is read In-Reply-To: <342107229.1221800564241.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-4212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12634704#action_12634704 ] Tsz Wo (Nicholas), SZE commented on HADOOP-4212: ------------------------------------------------ > Won't it be problematic when looking at windows file system? Configuration is not a part of file system API. It should support generic usage. When I worked on HADOOP-2461, I think that the property names should be trimmed but not the values. Otherwise, it forbids the potential use of leading and trailing spaces. If there is a need, the codes using the conf values should do the trimming. > New lines and leading spaces are not trimmed of a value when configuration is read > ---------------------------------------------------------------------------------- > > Key: HADOOP-4212 > URL: https://issues.apache.org/jira/browse/HADOOP-4212 > Project: Hadoop Core > Issue Type: Bug > Components: conf > Affects Versions: 0.18.1 > Environment: Generic > Reporter: Sreekanth Ramakrishnan > Assignee: Sreekanth Ramakrishnan > Priority: Minor > Attachments: HADOOP-4212-1.patch, HADOOP-4212-TESTCASE.patch > > > While configuration value is read the leading and trailing spaces and new line characters are taken into account. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.