hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-8650) HRegionServer#updateRecoveringRegionLastFlushedSequenceId(HRegion) makes inefficient use of keySet iterator instead of entrySet iterator
Date Sun, 09 Jun 2013 13:14:20 GMT

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

Hudson commented on HBASE-8650:
-------------------------------

Integrated in HBase-TRUNK-on-Hadoop-2.0.0 #561 (See [https://builds.apache.org/job/HBase-TRUNK-on-Hadoop-2.0.0/561/])
    HBASE-8650 HRegionServer#updateRecoveringRegionLastFlushedSequenceId(HRegion) makes inefficient
use of keySet iterator instead of entrySet iterator (Ted Yu) (Revision 1491134)

     Result = FAILURE
tedyu : 
Files : 
* /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java

                
> HRegionServer#updateRecoveringRegionLastFlushedSequenceId(HRegion) makes inefficient
use of keySet iterator instead of entrySet iterator
> ----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-8650
>                 URL: https://issues.apache.org/jira/browse/HBASE-8650
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>            Priority: Minor
>             Fix For: 0.98.0
>
>         Attachments: 8650-v1.txt
>
>
> {code}
>     for (byte[] columnFamily : maxSeqIdInStores.keySet()) {
>       Long storeSeqIdForReplay = maxSeqIdInStores.get(columnFamily);
> {code}
> maxSeqIdInStores.entrySet() should have been used.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message