hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anoopsamj...@apache.org
Subject svn commit: r1553014 - /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/security/visibility/VisibilityController.java
Date Sun, 22 Dec 2013 18:19:58 GMT
Author: anoopsamjohn
Date: Sun Dec 22 18:19:58 2013
New Revision: 1553014

URL: http://svn.apache.org/r1553014
Log:
HBASE-10223 [VisibilityController] cellVisibility presence check on Delete mutation is wrong

Modified:
    hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/security/visibility/VisibilityController.java

Modified: hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/security/visibility/VisibilityController.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/security/visibility/VisibilityController.java?rev=1553014&r1=1553013&r2=1553014&view=diff
==============================================================================
--- hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/security/visibility/VisibilityController.java
(original)
+++ hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/security/visibility/VisibilityController.java
Sun Dec 22 18:19:58 2013
@@ -683,7 +683,7 @@ public class VisibilityController extend
             }
           }
         }
-      } else {
+      } else if (cellVisibility != null) {
         // CellVisibility in a Delete is not legal! Fail the operation
         miniBatchOp.setOperationStatus(i, new OperationStatus(SANITY_CHECK_FAILURE,
             "CellVisibility cannot be set on Delete mutation"));



Mime
View raw message