You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by an...@apache.org on 2016/04/20 12:24:45 UTC

hbase git commit: HBASE-15672 hadoop.hbase.security.visibility.TestVisibilityLabelsWithDeletes fails. - Addendum

Repository: hbase
Updated Branches:
  refs/heads/0.98 131e5d3f4 -> 8799e1fb4


HBASE-15672 hadoop.hbase.security.visibility.TestVisibilityLabelsWithDeletes fails. - Addendum


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/8799e1fb
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/8799e1fb
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/8799e1fb

Branch: refs/heads/0.98
Commit: 8799e1fb46500d05574b76f4d223fe9b0de20db2
Parents: 131e5d3
Author: anoopsjohn <an...@gmail.com>
Authored: Wed Apr 20 15:54:24 2016 +0530
Committer: anoopsjohn <an...@gmail.com>
Committed: Wed Apr 20 15:54:24 2016 +0530

----------------------------------------------------------------------
 .../hadoop/hbase/security/visibility/VisibilityController.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/8799e1fb/hbase-server/src/main/java/org/apache/hadoop/hbase/security/visibility/VisibilityController.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/security/visibility/VisibilityController.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/security/visibility/VisibilityController.java
index 38f52c5..e2eefff 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/security/visibility/VisibilityController.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/security/visibility/VisibilityController.java
@@ -436,7 +436,7 @@ public class VisibilityController extends BaseMasterAndRegionObserver implements
 
     if (result.size() < get.getMaxVersions()) {
       // Nothing to delete
-      kv.updateLatestStamp(Bytes.toBytes(byteNow));
+      kv.updateLatestStamp(byteNow);
       return;
     }
     if (result.size() > get.getMaxVersions()) {