You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2016/06/08 22:10:21 UTC

[jira] [Resolved] (HBASE-15986) BackupServerUtil.getWALFilesOlderThan() should handle oldWALs properly

     [ https://issues.apache.org/jira/browse/HBASE-15986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Yu resolved HBASE-15986.
----------------------------
      Resolution: Fixed
    Hadoop Flags: Reviewed

Thanks for the patch, Vlad.

> BackupServerUtil.getWALFilesOlderThan() should handle oldWALs properly
> ----------------------------------------------------------------------
>
>                 Key: HBASE-15986
>                 URL: https://issues.apache.org/jira/browse/HBASE-15986
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Ted Yu
>            Assignee: Vladimir Rodionov
>              Labels: backup
>             Fix For: 2.0.0
>
>         Attachments: HBASE-15986-v1.patch, HBASE-15986-v2.patch, HBASE-15986-v3.patch
>
>
> 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:
> {code}
> ServerName.parsePort(String) line: 150
> BackupClientUtil.parseHostFromOldLog(Path) line: 136
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)