[
https://issues.apache.org/jira/browse/HBASE-20485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16451985#comment-16451985
]
Chia-Ping Tsai commented on HBASE-20485:
----------------------------------------
{quote}I think we can use reflection for a generic solution. Something like
this: [Compare two objects field by
field|https://stackoverflow.com/questions/32196069/compare-two-objects-field-by-field-and-show-the-difference]?
{quote}
Seems good. Most fields are primitive type so the equal() should work. How to
omit the fields which won't be copied? Introduce an annotation?
> Copy constructor of Scan doesn't copy the readType and replicaId
> ----------------------------------------------------------------
>
> Key: HBASE-20485
> URL: https://issues.apache.org/jira/browse/HBASE-20485
> Project: HBase
> Issue Type: Bug
> Reporter: Chia-Ping Tsai
> Assignee: Nihal Jain
> Priority: Minor
> Labels: beginner, beginners
> Fix For: 3.0.0
>
> Attachments: HBASE-20485.master.001.patch
>
>
> The field was introduced by HBASE-17045.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)