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

Extend DFSck with an option to list corrupt files using API from HDFS-729

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • tools
    • None

    Description

      HDFS-729 created a new API to namenode that returns the list of corrupt files.

      We can now extend fsck (DFSck.java) to add an option (e.g. --list_corrupt) that queries the namenode using the new API and lists the corrupt blocks to the users.

      Attachments

        1. hdfs-1032_aoriani_2.patch
          12 kB
          André Oriani
        2. hdfs-1032_aoriani_3.patch
          13 kB
          André Oriani
        3. hdfs-1032_aoriani_4.patch
          13 kB
          André Oriani
        4. hdfs-1032_aoriani.patch
          6 kB
          André Oriani

        Issue Links

          Activity

            People

              aoriani André Oriani
              rschmidt Rodrigo Schmidt
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: