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

Delete's copy constructor should copy the attributes also

    Details

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

      Description

      The constructor in Delete

        public Delete(final Delete d) {
          this.row = d.getRow();
          this.ts = d.getTimeStamp();
          this.familyMap.putAll(d.getFamilyCellMap());
          this.durability = d.durability;
        }
      

      should copy the attributes also. Similar bug was raised for Put also. I remember because I found while debugging an MR issue. Now while checking another MR issue found for delete it has not been done.

        Attachments

        1. 11310.addendum
          0.7 kB
          Ted Yu
        2. HBASE-11310_1.patch
          4 kB
          ramkrishna.s.vasudevan
        3. HBASE-11310.patch
          0.7 kB
          ramkrishna.s.vasudevan

          Activity

            People

            • Assignee:
              ram_krish ramkrishna.s.vasudevan
              Reporter:
              ram_krish ramkrishna.s.vasudevan
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: