Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 5EC56200B35 for ; Mon, 20 Jun 2016 19:37:08 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 5D911160A65; Mon, 20 Jun 2016 17:37:08 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D2798160A26 for ; Mon, 20 Jun 2016 19:37:07 +0200 (CEST) Received: (qmail 32333 invoked by uid 500); 20 Jun 2016 17:37:06 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 32067 invoked by uid 99); 20 Jun 2016 17:37:06 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Jun 2016 17:37:06 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 152AC2C1F60 for ; Mon, 20 Jun 2016 17:37:06 +0000 (UTC) Date: Mon, 20 Jun 2016 17:37:06 +0000 (UTC) From: "ramkrishna.s.vasudevan (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-16055) PutSortReducer loses any Visibility/acl attribute set on the Puts MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 20 Jun 2016 17:37:08 -0000 [ https://issues.apache.org/jira/browse/HBASE-16055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ramkrishna.s.vasudevan updated HBASE-16055: ------------------------------------------- Attachment: HBASE-16055_1.patch Patch that supports adding TTL, ACL and visibility tags from the PutSortReducer. > PutSortReducer loses any Visibility/acl attribute set on the Puts > ------------------------------------------------------------------ > > Key: HBASE-16055 > URL: https://issues.apache.org/jira/browse/HBASE-16055 > Project: HBase > Issue Type: Bug > Components: security > Reporter: ramkrishna.s.vasudevan > Assignee: ramkrishna.s.vasudevan > Priority: Critical > Fix For: 2.0.0 > > Attachments: HBASE-16055_1.patch > > > Based on a user discussion, I think as the user pointed out rightly, when a PutSortReducer is used any visibility attribute or external attribute set on the Put will be lost as we create KVs out of the cells in the puts whereas the ACL and visibility are all set as Attributes. > In TextSortReducer we tend to read the information we tend to read the information from the parsed line but here in PutSortReducer we don't do it. I think this problem should be in all the existing versions where we support Tags. Correct me if am wrong here. > [~anoop.hbase], [~andrew.purtell@gmail.com]? -- This message was sent by Atlassian JIRA (v6.3.4#6332)