hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jimmy Xiang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-11310) Delete's copy constructor should copy the attributes also
Date Wed, 11 Jun 2014 18:54:02 GMT

    [ https://issues.apache.org/jira/browse/HBASE-11310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14028215#comment-14028215
] 

Jimmy Xiang commented on HBASE-11310:
-------------------------------------

+1 for the addendum

> Delete's copy constructor should copy the attributes also
> ---------------------------------------------------------
>
>                 Key: HBASE-11310
>                 URL: https://issues.apache.org/jira/browse/HBASE-11310
>             Project: HBase
>          Issue Type: Bug
>          Components: mapreduce
>    Affects Versions: 0.98.3
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>             Fix For: 0.99.0, 0.98.4
>
>         Attachments: 11310.addendum, HBASE-11310.patch, HBASE-11310_1.patch
>
>
> The constructor in Delete
> {code}
>   public Delete(final Delete d) {
>     this.row = d.getRow();
>     this.ts = d.getTimeStamp();
>     this.familyMap.putAll(d.getFamilyCellMap());
>     this.durability = d.durability;
>   }
> {code}
> 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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message