Ted Yu created HBASE-17427:
------------------------------
Summary: region_mover.rb may move region onto the same server
Key: HBASE-17427
URL: https://issues.apache.org/jira/browse/HBASE-17427
Project: HBase
Issue Type: Bug
Affects Versions: 1.1.6
Reporter: Ted Yu
Assignee: Ted Yu
Intermittently, region_mover.rb got stuck waiting for region to be moved onto
same server:
{code}
2017-01-04 05:37:27,830|INFO|MainThread|machine.py:145 - run()|RuntimeError:
Region hbase:meta,,1.1588230740 stuck on
ctr-e88-1483482546062-0245-01-000007.x.com,16020,1483507665481,,
newserver=ctr-e88-1483482546062-0245-01-000007.x.com,16020,1483507665481
{code}
This was due to the following:
{code}
if currentServer and servername and currentServer == servername.to_s
{code}
currentServer is Java String which shouldn't be compared with ruby string
directly.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)