[ https://issues.apache.org/jira/browse/HBASE-17161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15709078#comment-15709078 ]
Hadoop QA commented on HBASE-17161: ----------------------------------- | (x) *{color:red}-1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || | {color:blue}0{color} | {color:blue} reexec {color} | {color:blue} 0m 0s {color} | {color:blue} Docker mode activated. {color} | | {color:red}-1{color} | {color:red} patch {color} | {color:red} 0m 7s {color} | {color:red} HBASE-17161 does not apply to master. Rebase required? Wrong Branch? See https://yetus.apache.org/documentation/0.3.0/precommit-patchnames for help. {color} | \\ \\ || Subsystem || Report/Notes || | JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12841075/HBASE-17161.patch | | JIRA Issue | HBASE-17161 | | Console output | https://builds.apache.org/job/PreCommit-HBASE-Build/4718/console | | Powered by | Apache Yetus 0.3.0 http://yetus.apache.org | This message was automatically generated. > MOB : Make ref cell creation more efficient > ------------------------------------------- > > Key: HBASE-17161 > URL: https://issues.apache.org/jira/browse/HBASE-17161 > Project: HBase > Issue Type: Improvement > Reporter: Anoop Sam John > Assignee: Anoop Sam John > Fix For: 2.0.0 > > Attachments: HBASE-17161.patch > > > When we flush MOB data, ref cells are created per actual MOB cell. This > creates lots of garbage > Refer MobUtils#createMobRefCell > We need to add 2 tags into the ref cell. An ArrayList is created with default > size creating ref array. Call to CellUtil.getTags will create a new ArrayList > even if the original cell is having no tags. > A new KV is created which will create a new backing byte[] and do copy. Also > along with each of the flush/compaction op, a fresh Tag object is created for > TableName tag. > Fixes include > 1. A table name tag is not going to change per HStore. Even both the new > tags to be added. Will keep a byte[] of these 2 tags at MobHStore level so > that all flush and compactions in this store can use it. > 2. Create a new MobRefCell just like TagRewriteCell where only value and tags > part will be diff from the original cell. -- This message was sent by Atlassian JIRA (v6.3.4#6332)