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

HDFS:fsck option "-list-corruptfileblocks" suppress all other output while being used with different combination of fsck options

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.1.2
    • Fix Version/s: None
    • Component/s: tools
    • Labels:
      None

      Description

      fsck option "-list-corruptfileblocks" suppress all other output while being used with different combination of fsck options.

      Steps:- 

      ========

      Use hdfs fsck command with different combinations of options as

      hdfs fsck / -files -blocks -locations -storagepolicies
      hdfs fsck / -files -blocks -openforwrite
      hdfs fsck / -files -blocks -showprogress
      hdfs fsck / -files -openforwrite

      for all the combinations of options output will display.

       

      Use same fsck options with "-list-corruptfileblocks" ,it will suppress the output of
      all other options and only display the list of corrupt files which is not correct behavior
      Either it should display output of all the other option with corrupted file info or it has
      to be specifed in help info that this option should use alone without any combination of
      other options.Try these different combinations of options

      hdfs fsck / -files -blocks -list-corruptfileblocks
      hdfs fsck / -list-corruptfileblocks -files -blocks

       

        Attachments

        1. fsck_log.PNG
          65 kB
          Souryakanta Dwivedy
        2. image-2019-11-11-15-40-22-128.png
          37 kB
          Souryakanta Dwivedy

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              SouryakantaDwivedy Souryakanta Dwivedy
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated: