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

Wrong Use Case of -showprogress in fsck

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.3.0
    • Fix Version/s: 3.3.0, 3.1.4, 3.2.2
    • Component/s: None
    • Labels:
      None
    • Target Version/s:

      Description

      -showprogress is deprecated and Progress is now shown by default but fsck --help shows incorrect use case for the same 

       

      Usage: hdfs fsck <path> [-list-corruptfileblocks | [-move | -delete | -openforwrite] [-files [-blocks [-locations | -racks | -replicaDetails | -upgradedomains]]]] [-includeSnapshots] [-showprogress] [-storagepolicies] [-maintenance] [-blockId <blk_Id>]
       <path> start checking from this path

      -move move corrupted files to /lost+found
      -delete delete corrupted files
      -files print out files being checked
      -openforwrite print out files opened for write
      -includeSnapshots include snapshot data if the given path indicates a snapshottable directory or there are snapshottable directories under it
      -list-corruptfileblocks print out list of missing blocks and files they belong to
      -files -blocks print out block report
      -files -blocks -locations print out locations for every block
      -files -blocks -racks print out network topology for data-node locations
      -files -blocks -replicaDetails print out each replica details
      -files -blocks -upgradedomains print out upgrade domains for every block
      -storagepolicies print out storage policy summary for the blocks
      -maintenance print out maintenance state node details
      -showprogress show progress in output. Default is OFF (no progress)
      -blockId print out which file this blockId belongs to, locations (nodes, racks) of this block, and other diagnostics info (under replicated, corrupted or not, etc)

        Attachments

        1. HDFS-15216.001.patch
          0.9 kB
          Ravuri Sushma sree

          Issue Links

            Activity

              People

              • Assignee:
                Sushma_28 Ravuri Sushma sree
                Reporter:
                Sushma_28 Ravuri Sushma sree
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: