Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-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 6B87A6CBA for ; Tue, 24 May 2011 14:14:28 +0000 (UTC) Received: (qmail 40632 invoked by uid 500); 24 May 2011 14:14:28 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 40597 invoked by uid 500); 24 May 2011 14:14:28 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 40589 invoked by uid 99); 24 May 2011 14:14:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 May 2011 14:14:28 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 May 2011 14:14:27 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 5C542DBB85 for ; Tue, 24 May 2011 14:13:47 +0000 (UTC) Date: Tue, 24 May 2011 14:13:47 +0000 (UTC) From: "ramkrishna.s.vasudevan (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <2040999730.39216.1306246427374.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1826740894.18247.1305612347811.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HDFS-1949) Number format Exception is displayed in Namenode UI when the chunk size field is blank or string value.. 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/HDFS-1949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ramkrishna.s.vasudevan updated HDFS-1949: ----------------------------------------- Status: Open (was: Patch Available) > Number format Exception is displayed in Namenode UI when the chunk size field is blank or string value.. > --------------------------------------------------------------------------------------------------------- > > Key: HDFS-1949 > URL: https://issues.apache.org/jira/browse/HDFS-1949 > Project: Hadoop HDFS > Issue Type: Bug > Components: name-node > Affects Versions: 0.21.0, 0.20-append, 0.23.0 > Reporter: ramkrishna.s.vasudevan > Priority: Minor > Fix For: 0.23.0 > > Attachments: HDFS-1949.patch, hdfs-1949-1.patch, hdfs-1949.patch > > > In the Namenode UI we have a text box to enter the chunk size. > The expected value for the chunk size is a valid Integer value. > If any invalid value, string or empty spaces are provided it throws number format exception. > The existing behaviour is like we need to consider the default value if no value is specified. > Soln > ==== > We can handle numberformat exception and assign default value if invalid value is specified. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira