Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-1949

Number format Exception is displayed in Namenode UI when the chunk size field is blank or string value..

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Not A Problem
    • 0.20-append, 0.21.0, 0.23.0
    • None
    • namenode
    • None

    Description

      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.

      Attachments

        1. HDFS-1949-3.patch
          6 kB
          Ashish Singhi
        2. HDFS-1949-2.patch
          7 kB
          ramkrishna.s.vasudevan
        3. hdfs-1949-1.patch
          6 kB
          ramkrishna.s.vasudevan
        4. hdfs-1949.patch
          5 kB
          ramkrishna.s.vasudevan
        5. HDFS-1949.patch
          4 kB
          ramkrishna.s.vasudevan

        Activity

          People

            ashish singhi Ashish Singhi
            ram_krish ramkrishna.s.vasudevan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: