Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7240 Scaling HDFS
  3. HDFS-12328

Ozone: Purge metadata of deleted blocks after max retry times

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      In HDFS-12283, we set the value of count to -1 if blocks cannot be deleted after max retry times. We need to provide APIs for admins to purge the "-1" metadata manually. Implement these commands:
      list the txids

      hdfs scm -txid list -count<number> -retry <number>
      

      delete the txid

      hdfs scm -txid delete -id <txid>
      

      Attachments

        Issue Links

          Activity

            People

              yuanbo Yuanbo Liu
              yuanbo Yuanbo Liu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: