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

Delete's copy constructor should copy the attributes also

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.98.3
    • 0.99.0, 0.98.4
    • mapreduce
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: