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

LoadTestDataGeneratorWithVisibilityLabels should handle Delete mutations

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.98.5
    • 0.99.0, 0.98.6
    • None
    • 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

        1. HBASE-11716.patch
          1 kB
          Anoop Sam John

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: