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

BackupUtils#getWALFilesOlderThan refers to wrong FileSystem

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha-1
    • 3.0.0-alpha-1
    • None
    • None
    • Reviewed

    Description

      Janos reported seeing backup test failure when testing a local HDFS for WALs while using WASB/ADLS only for store files.

      Janos spotted the code in BackupUtils#getWALFilesOlderThan which uses HBase root dir for retrieving WAL files.

      We should use the helper methods from CommonFSUtils.

      Attachments

        1. HBASE-21457.add.patch
          2 kB
          Vladimir Rodionov
        2. 21457.v4.txt
          3 kB
          Ted Yu
        3. 21457.v3.txt
          3 kB
          Ted Yu
        4. 21457.v3.txt
          3 kB
          Ted Yu
        5. 21457.v2.txt
          2 kB
          Ted Yu
        6. 21457.v1.txt
          2 kB
          Ted Yu

        Issue Links

          Activity

            People

              yuzhihong@gmail.com Ted Yu
              gubjanos Janos Gub
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: