Ted Yu created HBASE-15986:
------------------------------
Summary: 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: Ted Yu
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)