Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-11716

LoadTestDataGeneratorWithVisibilityLabels should handle Delete mutations

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.98.5
    • Fix Version/s: 0.99.0, 0.98.6
    • Component/s: None
    • Labels:
    • Hadoop Flags:
      Reviewed

      Description

        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;
        }
      

      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.

        Attachments

          Activity

            People

            • Assignee:
              anoop.hbase Anoop Sam John
              Reporter:
              anoop.hbase Anoop Sam John
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: