hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-16055) PutSortReducer loses any Visibility/acl attribute set on the Puts
Date Mon, 11 Jul 2016 16:55:11 GMT

    [ https://issues.apache.org/jira/browse/HBASE-16055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15371155#comment-15371155
] 

Hudson commented on HBASE-16055:
--------------------------------

FAILURE: Integrated in HBase-0.98-matrix #367 (See [https://builds.apache.org/job/HBase-0.98-matrix/367/])
HBASE-16055 PutSortReducer loses any Visibility/acl attribute set on the (ramkrishna: rev
ecc1a886e4dd8747595a82d17eb805eabf26c20b)
* hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/TextSortReducer.java
* hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/PutSortReducer.java
* hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/DefaultVisibilityExpressionResolver.java
* hbase-server/src/test/java/org/apache/hadoop/hbase/mapreduce/TestHFileOutputFormat2.java


> 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, 1.0.4, 1.4.0
>
>         Attachments: HBASE-16055_0.98_2.patch, HBASE-16055_1.patch, HBASE-16055_2.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)

Mime
View raw message