You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Anoop Sam John (JIRA)" <ji...@apache.org> on 2014/08/11 06:53:12 UTC

[jira] [Created] (HBASE-11716) LoadTestDataGeneratorWithVisibilityLabels should handle Delete mutations

Anoop Sam John created HBASE-11716:
--------------------------------------

             Summary: 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


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