[
https://issues.apache.org/jira/browse/HBASE-9248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13743649#comment-13743649
]
ramkrishna.s.vasudevan commented on HBASE-9248:
-----------------------------------------------
Patch for place holders in WALCellCodec and PrefixTree encoder. Mainly it adds
place holders in the PrefixTreeBlockMeta.
For reading files without tags using the Seeker that is with tags, we could
make use of numTagBytes
{code}
+ // Read tags only if there are tags in the meta
+ if(blockMeta.getNumTagBytes() != 0) {
+ populateTag();
+ }
{code}
in PrefixTreeArrayScanner. The above check would be needed because the offset
of any entity is formed from the previous entities offset and the number of
bytes that it occupies.
[~mcorgan]
Can you review the changes in PrefixTree? Also the number of ints were
previously 22 but I think it should be more than that?
> Place holders for tags in 0.96 to accommodate tags in 0.98
> ----------------------------------------------------------
>
> Key: HBASE-9248
> URL: https://issues.apache.org/jira/browse/HBASE-9248
> Project: HBase
> Issue Type: Improvement
> Affects Versions: 0.95.2
> Reporter: ramkrishna.s.vasudevan
> Assignee: ramkrishna.s.vasudevan
> Fix For: 0.98.0, 0.95.2, 0.96.0
>
> Attachments: HBASE-9248.patch
>
>
> This JIRA is focused on adding placeholders for tags in 0.96 so that 0.98
> would be easier to accommodate tags.
> Changes would be in WAL Encoders/decoders with compression.
> PrefixTree codec. (Had an offline discussion with Matt Corgan on this).
> If anything else would be needed I can add it in this JIRA.
--
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