hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anoopsamj...@apache.org
Subject svn commit: r1586808 - /hbase/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Delete.java
Date Sat, 12 Apr 2014 03:16:35 GMT
Author: anoopsamjohn
Date: Sat Apr 12 03:16:35 2014
New Revision: 1586808

URL: http://svn.apache.org/r1586808
Log:
HBASE-10964 Delete mutation is not consistent with Put wrt timestamp.(Anoop)

Modified:
    hbase/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Delete.java

Modified: hbase/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Delete.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Delete.java?rev=1586808&r1=1586807&r2=1586808&view=diff
==============================================================================
--- hbase/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Delete.java (original)
+++ hbase/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Delete.java Sat
Apr 12 03:16:35 2014
@@ -180,7 +180,7 @@ public class Delete extends Mutation imp
    * @return this for invocation chaining
    */
   public Delete deleteFamily(byte [] family) {
-    this.deleteFamily(family, HConstants.LATEST_TIMESTAMP);
+    this.deleteFamily(family, this.ts);
     return this;
   }
 
@@ -237,7 +237,7 @@ public class Delete extends Mutation imp
    * @return this for invocation chaining
    */
   public Delete deleteColumns(byte [] family, byte [] qualifier) {
-    this.deleteColumns(family, qualifier, HConstants.LATEST_TIMESTAMP);
+    this.deleteColumns(family, qualifier, this.ts);
     return this;
   }
 
@@ -274,7 +274,7 @@ public class Delete extends Mutation imp
    * @return this for invocation chaining
    */
   public Delete deleteColumn(byte [] family, byte [] qualifier) {
-    this.deleteColumn(family, qualifier, HConstants.LATEST_TIMESTAMP);
+    this.deleteColumn(family, qualifier, this.ts);
     return this;
   }
 



Mime
View raw message