[ 
https://issues.apache.org/jira/browse/HBASE-15986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15321241#comment-15321241
 ] 

Vladimir Rodionov commented on HBASE-15986:
-------------------------------------------

[~tedyu], are you OK with the patch?

> BackupServerUtil.getWALFilesOlderThan() should handle oldWALs properly
> ----------------------------------------------------------------------
>
>                 Key: HBASE-15986
>                 URL: https://issues.apache.org/jira/browse/HBASE-15986
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Vladimir Rodionov
>              Labels: backup
>         Attachments: HBASE-15986-v1.patch, HBASE-15986-v2.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)

Reply via email to