[
https://issues.apache.org/jira/browse/HBASE-13014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14982026#comment-14982026
]
Abhishek Singh Chouhan commented on HBASE-13014:
------------------------------------------------
Problem was with the test
{noformat}
LOG.info("Successfully Unloaded\nNow Loading");
rm.load();
Thread.sleep(100);
assertEquals(noRegions, regionServer.getNumberOfOnlineRegions());
{noformat}
This was failing on slow machines as the loading was taking some time. Changed
the test(and also unloadWithoutAck) to make it less strict too (since it is for
best effort mode, only checking if some regions are loaded)
{noformat}
rm.load();
TEST_UTIL.waitFor(5000, 500, new Predicate<Exception>() {
@Override
public boolean evaluate() throws Exception {
return regionServer.getNumberOfOnlineRegions() > 0;
}
});
{noformat}
> Java Tool For Region Moving
> ----------------------------
>
> Key: HBASE-13014
> URL: https://issues.apache.org/jira/browse/HBASE-13014
> Project: HBase
> Issue Type: Improvement
> Reporter: Abhishek Singh Chouhan
> Assignee: Abhishek Singh Chouhan
> Fix For: 2.0.0
>
> Attachments: HBASE-13014-master-v2.patch, HBASE-13014-master.patch,
> HBASE-13014-v2.patch, HBASE-13014-v3.patch, HBASE-13014-v4.patch,
> HBASE-13014-v5.patch, HBASE-13014-v6.patch, HBASE-13014.patch
>
>
> As per discussion on HBASE-12989 we should move the functionality of
> region_mover.rb into a Java tool and use region_mover.rb only only as a
> wrapper around it.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)