[
https://issues.apache.org/jira/browse/HBASE-4608?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Todd Lipcon updated HBASE-4608:
-------------------------------
Attachment: hbase-4608-v28.txt
hbase-4608-v28-delta.txt
I reviewed the latest patch and made some improvements:
- added a new true unit test for KeyValueCompression
- addressed one of my pieces of review feedback from earlier about the API for
uncompressIntoArray
- renamed some methods for clarity
- removed some spurious whitespace changes
- added an enum for HLogKey version so that the comparisons are clearer
- renamed MAXSIZE to MAX_SIZE
- redid the linked list inside BidirectionalLRUMap, since the nomenclature was
previously backwards and I found the code hard to read. ("next" is supposed to
point towards the tail, not towards the head)
- changed getEntry() to throw an error if you pass an index larger than the
current size
I ran the related unit tests and they passed, but did not try the full suite.
> HLog Compression
> ----------------
>
> Key: HBASE-4608
> URL: https://issues.apache.org/jira/browse/HBASE-4608
> Project: HBase
> Issue Type: New Feature
> Reporter: Li Pi
> Assignee: stack
> Fix For: 0.94.0
>
> Attachments: 4608-v19.txt, 4608-v20.txt, 4608-v22.txt, 4608v1.txt,
> 4608v13.txt, 4608v13.txt, 4608v14.txt, 4608v15.txt, 4608v16.txt, 4608v17.txt,
> 4608v18.txt, 4608v23.txt, 4608v24.txt, 4608v25.txt, 4608v27.txt, 4608v5.txt,
> 4608v6.txt, 4608v7.txt, 4608v8fixed.txt, hbase-4608-v28-delta.txt,
> hbase-4608-v28.txt
>
>
> The current bottleneck to HBase write speed is replicating the WAL appends
> across different datanodes. We can speed up this process by compressing the
> HLog. Current plan involves using a dictionary to compress table name, region
> id, cf name, and possibly other bits of repeated data. Also, HLog format may
> be changed in other ways to produce a smaller HLog.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira