[ https://issues.apache.org/jira/browse/HBASE-9045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13809492#comment-13809492 ]
Anoop Sam John commented on HBASE-9045: --------------------------------------- bq.Can do it based on configuration? IMO deciding such a conf is hard. Tags might be internally used for different use cases later. (Already there are some plans in other jiras) For a user to know all these and deciding such a conf will be hard right? That is why I am thinking that tag by tag compression will be safe. What do you say? Will correct the javadoc. I missed that in this patch. Thanks for the finding. bq.if (in.hasArray()) That is the recommendation from javadoc for using array() {quote} Invoke the hasArray method before invoking this method in order to ensure that this buffer has an accessible backing array. {quote} > Support Dictionary based Tag compression in HFiles > -------------------------------------------------- > > Key: HBASE-9045 > URL: https://issues.apache.org/jira/browse/HBASE-9045 > Project: HBase > Issue Type: Sub-task > Affects Versions: 0.98.0 > Reporter: Anoop Sam John > Assignee: Anoop Sam John > Fix For: 0.98.0 > > Attachments: HBASE-9045.patch, HBASE-9045_V2.patch > > > Along with the DataBlockEncoding algorithms, Dictionary based Tag compression > can be done -- This message was sent by Atlassian JIRA (v6.1#6144)