[ 
https://issues.apache.org/jira/browse/HDFS-1949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Allen Wittenauer updated HDFS-1949:
-----------------------------------
    Fix Version/s:     (was: 2.0.0-alpha)

> 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: namenode
>    Affects Versions: 0.20-append, 0.21.0, 0.23.0
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: Ashish Singhi
>            Priority: Minor
>         Attachments: HDFS-1949-2.patch, HDFS-1949-3.patch, 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 was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to