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-11716) LoadTestDataGeneratorWithVisibilityLabels should handle Delete mutations
Date Tue, 12 Aug 2014 00:18:13 GMT

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

Hudson commented on HBASE-11716:
--------------------------------

SUCCESS: Integrated in HBase-TRUNK #5390 (See [https://builds.apache.org/job/HBase-TRUNK/5390/])
HBASE-11716 LoadTestDataGeneratorWithVisibilityLabels should handle Delete mutations (Anoop
Sam John) (apurtell: rev d8a262996b43f9ffa9c641b1a0b0b2cd08677bc3)
* hbase-server/src/test/java/org/apache/hadoop/hbase/security/visibility/LoadTestDataGeneratorWithVisibilityLabels.java


> LoadTestDataGeneratorWithVisibilityLabels should handle Delete mutations
> ------------------------------------------------------------------------
>
>                 Key: HBASE-11716
>                 URL: https://issues.apache.org/jira/browse/HBASE-11716
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.98.5
>            Reporter: Anoop Sam John
>            Assignee: Anoop Sam John
>              Labels: IntegrationTest
>             Fix For: 0.99.0, 2.0.0, 0.98.6
>
>         Attachments: HBASE-11716.patch
>
>
> {code}
>   public Mutation beforeMutate(long rowkeyBase, Mutation m) throws IOException {
>     if (!(m instanceof Delete)) {
>       m.setCellVisibility(new CellVisibility(this.visibilityExps[(int) rowkeyBase
>           % this.visibilityExps.length]));
>     }
>     return m;
>   }
> {code}
> Now we have delete CellVisibility matching and so we should add CellVisibility for Mutations
also. Just removing the if check part will solve the issue.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message