Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-21509

/hbase/WALs directory has large number of hlogs, which cannot be deleted correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.3.1
    • None
    • None
    • None

    Description

      When HMaster is initializing, if getMetaRegionLocation() returns null value, then some wal(including metaWAL) cannot be deleted.

      for example
      before restarts
      /hbase/WALs/10-10-10-129,21302,1543048601526/10-10-10-129%2C21302%2C1543048601526.meta.1543048613941.meta
      after restarts
      /hbase/WALs/10-10-10-129,21302,1543048601526-splitting/10-10-10-129%2C21302%2C1543048601526.meta.1543048613941.meta
      /hbase/WALs/10-10-10-29,21302,1543048867527/10-10-10-29%2C21302%2C1543048867527.meta.1543048907265.meta

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Bo Cui Bo Cui
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: