[
https://issues.apache.org/jira/browse/HBASE-6013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13278332#comment-13278332
]
Jonathan Hsieh commented on HBASE-6013:
---------------------------------------
JD, I wasn't considering --peer.adr as a typo. I didn't modify the --peer.adr
arguments or any of the others -- I left them as is. The code I added only
reports an error if the user does a typo like using --peer.addr (two d's) or
-peer.adr (single -).
Previously these kinds of typos would continue "working" silently without
reporting errors and end up using the default zk quorum or copying full tables
when different behavior was expected.
Do you want me to change the spelling of --peer.adr? If we do that I'd still
keep the old spelling around for compatibility's sake.
I wasn't sure if the rs.class stuff was needed still -- sounds like we can file
a follow on issue to get rid of that?
> Polish sharp edges from CopyTable
> ---------------------------------
>
> Key: HBASE-6013
> URL: https://issues.apache.org/jira/browse/HBASE-6013
> Project: HBase
> Issue Type: Bug
> Affects Versions: 0.90.6, 0.92.1, 0.94.0, 0.96.0
> Reporter: Jonathan Hsieh
> Assignee: Jonathan Hsieh
> Attachments: hbase-6013.patch
>
>
> CopyTable doesn't report errors when invalid arguments are specified. For
> example, having a typo in --peer.adr (such as --peer.addr or -peer.adr)
> silently uses the default cluster and does a same-cluster copy.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira