hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-16443) Add readRegionServerLastLogRollResult() variant which accepts server name parameter
Date Wed, 17 Aug 2016 23:11:21 GMT
Ted Yu created HBASE-16443:
------------------------------

             Summary: 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


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.3.4#6332)

Mime
View raw message