From 93e7ec42d1f47db99126732a8eaea41d73a433de Mon Sep 17 00:00:00 2001 From: anoopsjohn Date: Mon, 14 Jul 2014 22:34:38 +0530 Subject: [PATCH] HBASE-11510 Visibility serialization format tag gets duplicated in Append/Increment'ed cells. (Anoop) --- .../hadoop/hbase/security/visibility/VisibilityController.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 f779ee431f2..795ec69e427 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 @@ -1236,7 +1236,8 @@ public class VisibilityController extends BaseRegionObserver implements MasterOb newCell.getTagsLength()); while (tagsItr.hasNext()) { Tag tag = tagsItr.next(); - if (tag.getType() != VisibilityUtils.VISIBILITY_TAG_TYPE) { + if (tag.getType() != VisibilityUtils.VISIBILITY_TAG_TYPE + && tag.getType() != VisibilityUtils.VISIBILITY_EXP_SERIALIZATION_TAG_TYPE) { tags.add(tag); } }