[
https://issues.apache.org/jira/browse/HBASE-14258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14720784#comment-14720784
]
Ted Yu commented on HBASE-14258:
--------------------------------
{code}
+ if hostFromServerName == hostname.upcase and portFromServerName == port
{code}
Uppcasing hostname can be done outside the loop, right ?
> Make region_mover.rb script case insensitive with regard to hostname
> --------------------------------------------------------------------
>
> Key: HBASE-14258
> URL: https://issues.apache.org/jira/browse/HBASE-14258
> Project: HBase
> Issue Type: Bug
> Reporter: Vladimir Rodionov
> Assignee: Vladimir Rodionov
> Priority: Minor
> Fix For: 2.0.0, 1.2.0, 1.3.0, 1.1.3
>
> Attachments: HBASE-14258.patch, HBASE-14258.patch.add
>
>
> The script is case sensitive and fails when case of a host name being
> unloaded does not match with a case of a region server name returned by HBase
> API.
> This doc clarifies IETF rules on case insensitivities in DNS:
> https://www.ietf.org/rfc/rfc4343.txt
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)