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/07 23:32:21 UTC
[jira] [Commented] (HBASE-15986)
BackupServerUtil.getWALFilesOlderThan() should handle oldWALs properly
[ https://issues.apache.org/jira/browse/HBASE-15986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15319686#comment-15319686 ]
Ted Yu commented on HBASE-15986:
--------------------------------
The catch is only needed in parseHostFromOldLog(), right ?
> 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
>
>
> 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)