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

Evgeny Ryabitskiy updated HBASE-1278:
-------------------------------------

    Attachment: HBASE-1278.patch

This path changes TreeMap to HashMap in HLog.java and HRegion.java. Because we 
don't need sorting of edits before appending them to log and memcache. HashMap 
is faster and regions servers will not waste time for unnecessary sorting.

> Improvement of HRegion rows update logic
> ----------------------------------------
>
>                 Key: HBASE-1278
>                 URL: https://issues.apache.org/jira/browse/HBASE-1278
>             Project: Hadoop HBase
>          Issue Type: Sub-task
>          Components: regionserver
>    Affects Versions: 0.20.0
>            Reporter: Evgeny Ryabitskiy
>            Assignee: Evgeny Ryabitskiy
>             Fix For: 0.20.1
>
>         Attachments: HBASE-1278.patch
>
>
> Log with my mentor :)
> [10:16] <EugeneR> update method in HRegion is using TreeMap as it's 
> parameter...
> [10:17] <EugeneR> so... before run it.. we creating a TreeMap from our Set of 
> changes
> [10:17] <EugeneR> and using comparator for sorting
> [10:17] <EugeneR> but!
> [10:17] <EugeneR> guess what update doing with TreeMap??? ))
> [10:18] <EugeneR> updatesByColumn.entrySet()... it gets back our Set of 
> changes from that TreeMap!!! :)
> [10:19] <EugeneR> we are wrapping Set in TreeMap to put in method and then 
> get it back in this method.... )
> [10:23] <EugeneR> St^Ack: So I know from what to start my improvement for 
> GSoC task )))
> [10:23] <St^Ack> EugeneR: smile

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to