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

ramkrishna.s.vasudevan commented on HBASE-9761:
-----------------------------------------------

Just check for null and then add the code
{code}
+    for (Map.Entry<String, byte[]> entry : 
putToCopy.getAttributesMap().entrySet()) {
+      this.setAttribute(entry.getKey(), entry.getValue());
+    }
{code} 


> Put copy constructor should clone the operation attributes also
> ---------------------------------------------------------------
>
>                 Key: HBASE-9761
>                 URL: https://issues.apache.org/jira/browse/HBASE-9761
>             Project: HBase
>          Issue Type: Bug
>          Components: Client
>    Affects Versions: 0.98.0, 0.95.2, 0.94.12, 0.96.0
>            Reporter: Anoop Sam John
>            Assignee: Anoop Sam John
>         Attachments: HBASE-9761_Trunk.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to