hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nigel Daley (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-2456) German locale makes NameNode web interface crash
Date Fri, 28 Dec 2007 20:44:43 GMT

     [ 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.


Mime
View raw message