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

BackupUtils#getWALFilesOlderThan refers to wrong FileSystem

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha-1
    • Fix Version/s: 3.0.0-alpha-1
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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. 21457.v1.txt
          2 kB
          Ted Yu
        2. 21457.v2.txt
          2 kB
          Ted Yu
        3. 21457.v3.txt
          3 kB
          Ted Yu
        4. 21457.v3.txt
          3 kB
          Ted Yu
        5. 21457.v4.txt
          3 kB
          Ted Yu
        6. HBASE-21457.add.patch
          2 kB
          Vladimir Rodionov

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: