HBase
  1. HBase
  2. HBASE-11716

LoadTestDataGeneratorWithVisibilityLabels should handle Delete mutations

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.98.5
    • Fix Version/s: 0.99.0, 2.0.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.

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

        Activity

        Anoop Sam John created issue -
        Anoop Sam John made changes -
        Field Original Value New Value
        Attachment HBASE-11716.patch [ 12660921 ]
        Anoop Sam John made changes -
        Fix Version/s 0.98.6 [ 12327376 ]
        Andrew Purtell made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Hadoop Flags Reviewed [ 10343 ]
        Fix Version/s 0.99.0 [ 12325675 ]
        Fix Version/s 2.0.0 [ 12327188 ]
        Resolution Fixed [ 1 ]
        Enis Soztutar made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development