You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Evgeny Ryabitskiy (JIRA)" <ji...@apache.org> on 2009/03/20 11:08:51 UTC
[jira] Created: (HBASE-1278) Improvement of HRegion rows update
logic
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
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.
[jira] Reopened: (HBASE-1278) Improvement of HRegion rows update
logic
Posted by "Evgeny Ryabitskiy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-1278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Evgeny Ryabitskiy reopened HBASE-1278:
--------------------------------------
> 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.
[jira] Updated: (HBASE-1278) Improvement of HRegion rows update
logic
Posted by "Evgeny Ryabitskiy (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Resolved: (HBASE-1278) Improvement of HRegion rows update
logic
Posted by "Evgeny Ryabitskiy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-1278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Evgeny Ryabitskiy resolved HBASE-1278.
--------------------------------------
Resolution: Fixed
It was small change but nice improvement ;)
> 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.
[jira] Updated: (HBASE-1278) Improvement of HRegion rows update
logic
Posted by "Evgeny Ryabitskiy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-1278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Evgeny Ryabitskiy updated HBASE-1278:
-------------------------------------
Comment: was deleted
(was: It was small change but nice improvement ;))
> 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.