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

BackupServerUtil.getWALFilesOlderThan() should handle oldWALs properly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • HBASE-7912
    • None
    • Reviewed

    Description

      I was running TestBackupDescribe where I saw the following being passed to BackupServerUtil.getWALFilesOlderThan():

      hdfs://localhost:59278/user/tyu/test-data/a42ac21a-2097-49d8-9c0e-86991e104e4e/oldWALs/hregion-05273083.default.1465333387177

      Since the filename doesn't represent a server, the following call throws exception:

      ServerName.parsePort(String) line: 150
      BackupClientUtil.parseHostFromOldLog(Path) line: 136
      

      Attachments

        1. HBASE-15986-v1.patch
          5 kB
          Vladimir Rodionov
        2. HBASE-15986-v2.patch
          5 kB
          Vladimir Rodionov
        3. HBASE-15986-v3.patch
          7 kB
          Vladimir Rodionov

        Issue Links

          Activity

            People

              vrodionov Vladimir Rodionov
              yuzhihong@gmail.com Ted Yu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: