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

ramkrishna.s.vasudevan commented on HBASE-11716:
------------------------------------------------

Added this change in one the IT that was created using LTT.  I will raise a 
JIRA to add that IT for visibility labels along with deletes that uses the LTT 
tool.

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

Reply via email to