hbase-issues mailing list archives

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

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

Andrew Purtell commented on HBASE-16055:
----------------------------------------

The 0.98 commit ec506bb breaks compilation. I have reverted it with 60ff612

{noformat}
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:testCompile
(default-testCompile) on project hbase-server: Compilation failure: Compilation failure:
[ERROR] hbase-server/src/test/java/org/apache/hadoop/hbase/mapreduce/TestHFileOutputFormat2.java:[225,11]
error: cannot find symbol
[ERROR] 
[ERROR] location: variable p of type Put
[ERROR] hbase-server/src/test/java/org/apache/hadoop/hbase/mapreduce/TestHFileOutputFormat2.java:[505,4]
error: method doIncrementalLoadTest in class TestHFileOutputFormat2 cannot be applied to given
types;
[ERROR] required: boolean,boolean,boolean,String
[ERROR] found: boolean,boolean
[ERROR] reason: actual and formal argument lists differ in length
[ERROR] hbase-server/src/test/java/org/apache/hadoop/hbase/mapreduce/TestHFileOutputFormat2.java:[511,4]
error: method doIncrementalLoadTest in class TestHFileOutputFormat2 cannot be applied to given
types;
[ERROR] required: boolean,boolean,boolean,String
[ERROR] found: boolean,boolean
[ERROR] reason: actual and formal argument lists differ in length
[ERROR] hbase-server/src/test/java/org/apache/hadoop/hbase/mapreduce/TestHFileOutputFormat2.java:[667,4]
error: method setupRandomGeneratorMapper in class TestHFileOutputFormat2 cannot be applied
to given types;
[ERROR] required: Job,boolean
[ERROR] found: Job
[ERROR] reason: actual and formal argument lists differ in length
[ERROR] hbase-server/src/test/java/org/apache/hadoop/hbase/mapreduce/TestHFileOutputFormat2.java:[1019,6]
error: method setupRandomGeneratorMapper in class TestHFileOutputFormat2 cannot be applied
to given types;
{noformat}


> 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_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