HBase
  1. HBase
  2. HBASE-11310

Delete's copy constructor should copy the attributes also

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

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

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development