[
https://issues.apache.org/jira/browse/HBASE-6597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13482543#comment-13482543
]
Phabricator commented on HBASE-6597:
------------------------------------
mbautin has commented on the revision "[jira] [HBASE-6597] [89-fb] Incremental
data block encoding".
Replying to comments inline.
INLINE COMMENTS
src/main/java/org/apache/hadoop/hbase/io/encoding/CopyKeyDataBlockEncoder.java:29
Updated the comment.
src/main/java/org/apache/hadoop/hbase/io/encoding/DiffKeyDeltaEncoder.java:34
Done.
src/main/java/org/apache/hadoop/hbase/io/encoding/FastDiffDeltaEncoder.java:35
Done.
src/main/java/org/apache/hadoop/hbase/util/ByteBufferUtils.java:132 Updated
the comment. length < Bytes.SIZEOF_INT is correct (this is the length of the
part of the array we are allowed to write into).
src/test/java/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.java:445 Done.
src/test/java/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.java:446 No.
The two last parameters are for assertEquals.
REVISION DETAIL
https://reviews.facebook.net/D5895
To: Kannan, Karthik, Liyin, aaiyer, avf, JIRA, mbautin
Cc: tedyu
> Block Encoding Size Estimation
> ------------------------------
>
> Key: HBASE-6597
> URL: https://issues.apache.org/jira/browse/HBASE-6597
> Project: HBase
> Issue Type: Improvement
> Components: io
> Affects Versions: 0.89-fb
> Reporter: Brian Nixon
> Assignee: Mikhail Bautin
> Priority: Minor
> Attachments: D5895.1.patch, D5895.2.patch, D5895.3.patch,
> D5895.4.patch
>
>
> Blocks boundaries as created by current writers are determined by the size of
> the unencoded data. However, blocks in memory are kept encoded. By using an
> estimate for the encoded size of the block, we can get greater consistency in
> size.
--
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