Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 23198 invoked from network); 28 Dec 2007 20:45:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Dec 2007 20:45:07 -0000 Received: (qmail 86664 invoked by uid 500); 28 Dec 2007 20:44:55 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 86640 invoked by uid 500); 28 Dec 2007 20:44:55 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 86631 invoked by uid 99); 28 Dec 2007 20:44:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Dec 2007 12:44:55 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Dec 2007 20:44:51 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 01DAA7141FE for ; Fri, 28 Dec 2007 12:44:43 -0800 (PST) Message-ID: <16056810.1198874683005.JavaMail.jira@brutus> Date: Fri, 28 Dec 2007 12:44:43 -0800 (PST) From: "Nigel Daley (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Updated: (HADOOP-2456) German locale makes NameNode web interface crash In-Reply-To: <2880496.1197997903161.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-2456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nigel Daley updated HADOOP-2456: -------------------------------- Resolution: Fixed Assignee: Matthias Friedrich Status: Resolved (was: Patch Available) I just committed this. Thanks Matthias! > German locale makes NameNode web interface crash > ------------------------------------------------ > > Key: HADOOP-2456 > URL: https://issues.apache.org/jira/browse/HADOOP-2456 > Project: Hadoop > Issue Type: Bug > Components: dfs > Affects Versions: 0.15.2 > Environment: Ubuntu Linux 7.10 > Reporter: Matthias Friedrich > Assignee: Matthias Friedrich > Priority: Minor > Fix For: 0.15.2 > > Attachments: namenode-log.txt, number-format-fix.patch > > > When starting the NameNode with a German locale (or some other that uses "," as the decimal separator), the web interface (dfshealth.jsp) crashes with a NumberFormatException. > To reproduce: > $ LC_ALL=de_DE bin/start-dfs.sh > Then copy some data to the store so that the percentage of used space is above 0%. Load the web interface in your browser and you'll get a HTTP 500 error message. > The problem is that FsShell gives you a localized number (eg. "0,7") which can't be parsed by Double.parseDouble(). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.