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

Offline Image Viewer: Processor argument should have some verification

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 3.1.0
    • None
    • tools
    • None
    • Patch

    Description

      At present, hdfs oiv tool lacks in verification of input parameter.people can type in irrelevant option like:

      ./hdfs oiv -i fsimage_0000000000000000000 -p XML -step 1024

      or type in option with wrong format which he think come into effec but actually not:

      ./hdfs oiv -i fsimage_0000000000000000000 -p FileDistribution maxSize 4096 step 512 format

      or some meaningless word which can also get through:

      ./hdfs oiv -i fsimage_0000000000000000000 -p XML Hello Han Meimei

      We'd better not let these cases go unchecked.

      Attachments

        1. HDFS-11925.patch
          7 kB
          LiXin Ge
        2. HDFS-11925.002.patch
          7 kB
          LiXin Ge

        Activity

          People

            GeLiXin LiXin Ge
            GeLiXin LiXin Ge
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: