[ https://issues.apache.org/jira/browse/HBASE-4608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13190189#comment-13190189 ]
jirapos...@reviews.apache.org commented on HBASE-4608: ------------------------------------------------------ ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/2740/#review4508 ----------------------------------------------------------- src/main/java/org/apache/hadoop/hbase/regionserver/wal/CompressedKeyValue.java <https://reviews.apache.org/r/2740/#comment10102> '/less' should be removed. src/main/java/org/apache/hadoop/hbase/regionserver/wal/CompressedKeyValue.java <https://reviews.apache.org/r/2740/#comment10103> javadoc needs update. src/main/java/org/apache/hadoop/hbase/regionserver/wal/CompressedKeyValue.java <https://reviews.apache.org/r/2740/#comment10104> Either remove the word 'a' or change it into 'an' src/main/java/org/apache/hadoop/hbase/regionserver/wal/CompressedKeyValue.java <https://reviews.apache.org/r/2740/#comment10105> Please change ourKV to keyval or something similar. src/main/java/org/apache/hadoop/hbase/regionserver/wal/CompressedKeyValue.java <https://reviews.apache.org/r/2740/#comment10106> Update javadoc to match the context parameter. src/main/java/org/apache/hadoop/hbase/regionserver/wal/CompressedKeyValue.java <https://reviews.apache.org/r/2740/#comment10107> I think adding 'the effect of compression would be good' at the end would make the sentence more easily understandable. src/main/java/org/apache/hadoop/hbase/regionserver/wal/SequenceFileLogReader.java <https://reviews.apache.org/r/2740/#comment10112> Remove whitespace. src/main/java/org/apache/hadoop/hbase/regionserver/wal/SequenceFileLogReader.java <https://reviews.apache.org/r/2740/#comment10113> This javadoc is more suitable for the init() method. src/main/java/org/apache/hadoop/hbase/regionserver/wal/SequenceFileLogReader.java <https://reviews.apache.org/r/2740/#comment10114> Please include e in new IOE. src/main/java/org/apache/hadoop/hbase/regionserver/wal/SequenceFileLogWriter.java <https://reviews.apache.org/r/2740/#comment10111> Please include e in the new IOE. src/main/java/org/apache/hadoop/hbase/regionserver/wal/WALDictionary.java <https://reviews.apache.org/r/2740/#comment10108> Please remove year. src/main/java/org/apache/hadoop/hbase/regionserver/wal/WALDictionary.java <https://reviews.apache.org/r/2740/#comment10109> Please put this line at the end of line 34. src/main/java/org/apache/hadoop/hbase/regionserver/wal/WALDictionary.java <https://reviews.apache.org/r/2740/#comment10110> 'ad' should be 'add' - Ted On 2012-01-13 01:37:35, Li Pi wrote: bq. bq. ----------------------------------------------------------- bq. This is an automatically generated e-mail. To reply, visit: bq. https://reviews.apache.org/r/2740/ bq. ----------------------------------------------------------- bq. bq. (Updated 2012-01-13 01:37:35) bq. bq. bq. Review request for hbase, Eli Collins and Todd Lipcon. bq. bq. bq. Summary bq. ------- bq. bq. HLog compression. Has unit tests and a command line tool for compressing/decompressing. bq. bq. bq. This addresses bug HBase-4608. bq. https://issues.apache.org/jira/browse/HBase-4608 bq. bq. bq. Diffs bq. ----- bq. bq. src/test/java/org/apache/hadoop/hbase/regionserver/wal/TestWALReplay.java 59910bf bq. src/test/java/org/apache/hadoop/hbase/regionserver/wal/TestWALReplayCompressed.java PRE-CREATION bq. src/test/java/org/apache/hadoop/hbase/regionserver/wal/TestLRUDictionary.java PRE-CREATION bq. src/main/java/org/apache/hadoop/hbase/regionserver/wal/WALEdit.java e1117ef bq. src/main/java/org/apache/hadoop/hbase/regionserver/wal/WALDictionary.java PRE-CREATION bq. src/main/java/org/apache/hadoop/hbase/regionserver/wal/SequenceFileLogWriter.java cbef70f bq. src/main/java/org/apache/hadoop/hbase/regionserver/wal/SequenceFileLogReader.java d9cd6de bq. src/main/java/org/apache/hadoop/hbase/regionserver/wal/LRUDictionary.java PRE-CREATION bq. src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLogKey.java f067221 bq. src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLog.java 24407af bq. src/main/java/org/apache/hadoop/hbase/regionserver/wal/Compressor.java PRE-CREATION bq. src/main/java/org/apache/hadoop/hbase/regionserver/wal/CompressionContext.java PRE-CREATION bq. src/main/java/org/apache/hadoop/hbase/regionserver/wal/CompressedKeyValue.java PRE-CREATION bq. src/main/java/org/apache/hadoop/hbase/HConstants.java 5120a3c bq. bq. Diff: https://reviews.apache.org/r/2740/diff bq. bq. bq. Testing bq. ------- bq. bq. bq. Thanks, bq. bq. Li bq. bq. > HLog Compression > ---------------- > > Key: HBASE-4608 > URL: https://issues.apache.org/jira/browse/HBASE-4608 > Project: HBase > Issue Type: New Feature > Reporter: Li Pi > Assignee: Li Pi > Attachments: 4608v1.txt, 4608v5.txt, 4608v6.txt, 4608v7.txt, > 4608v8fixed.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