hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jeffr...@apache.org
Subject svn commit: r1550222 - /hbase/trunk/hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValue.java
Date Wed, 11 Dec 2013 18:42:07 GMT
Author: jeffreyz
Date: Wed Dec 11 18:42:06 2013
New Revision: 1550222

URL: http://svn.apache.org/r1550222
Log:
HBASE-10125: KeyValue(Cell c) copy constructor doesn't copy tags data

Modified:
    hbase/trunk/hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValue.java

Modified: hbase/trunk/hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValue.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValue.java?rev=1550222&r1=1550221&r2=1550222&view=diff
==============================================================================
--- hbase/trunk/hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValue.java (original)
+++ hbase/trunk/hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValue.java Wed Dec 11
18:42:06 2013
@@ -733,9 +733,9 @@ public class KeyValue implements Cell, H
   public KeyValue(Cell c) {
     this(c.getRowArray(), c.getRowOffset(), (int)c.getRowLength(),
         c.getFamilyArray(), c.getFamilyOffset(), (int)c.getFamilyLength(), 
-        c.getQualifierArray(), c.getQualifierOffset(), (int) c.getQualifierLength(),
-        c.getTimestamp(), Type.codeToType(c.getTypeByte()), 
-        c.getValueArray(), c.getValueOffset(), c.getValueLength());
+        c.getQualifierArray(), c.getQualifierOffset(), (int) c.getQualifierLength(), 
+        c.getTimestamp(), Type.codeToType(c.getTypeByte()), c.getValueArray(), c.getValueOffset(),

+        c.getValueLength(), c.getTagsArray(), c.getTagsOffset(), c.getTagsLength());
   }
   
   /**



Mime
View raw message