[
https://issues.apache.org/jira/browse/HBASE-11310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14025430#comment-14025430
]
Andrew Purtell commented on HBASE-11310:
----------------------------------------
bq. I checked Append, Increment, Scan and Get.
That is only part of the client API.
bq. Get does not have a copy constructor.
Then I advocate adding one. What do you think [~ndimiduk]?
> Delete constructor accepting another Delete 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: HBASE-11310.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)