hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HBASE-16443) Add readRegionServerLastLogRollResult() variant which accepts server name parameter
Date Thu, 20 Jul 2017 02:42:00 GMT

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

Ted Yu resolved HBASE-16443.
----------------------------
    Resolution: Later

> Add readRegionServerLastLogRollResult() variant which accepts server name parameter
> -----------------------------------------------------------------------------------
>
>                 Key: HBASE-16443
>                 URL: https://issues.apache.org/jira/browse/HBASE-16443
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Ted Yu
>            Priority: Minor
>              Labels: backup
>
> Currently in LogRollBackupSubprocedure#RSRollLogTask#call, we have
> {code} 
>         HashMap<String, Long> serverTimestampMap = table.readRegionServerLastLogRollResult(backupRoot);
>         String host = rss.getServerName().getHostname();
>         int port = rss.getServerName().getPort();
>         String server = host + ":" + port;
>         Long sts = serverTimestampMap.get(host);
> {code}
> Last log roll result is retrieved for all the servers. Yet only the timestamp for relevant
server is used.
> This issue adds a variant of readRegionServerLastLogRollResult() which takes server name
as second parameter.
> The variant would be used in LogRollBackupSubprocedure#RSRollLogTask#call().



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message