[
https://issues.apache.org/jira/browse/HBASE-8803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13912077#comment-13912077
]
stack commented on HBASE-8803:
------------------------------
I tried it boss. After fixing the below.....
-distMode=`$bin/hbase org.apache.hadoop.hbase.util.HBaseConfTool
hbase.cluster.distributed | head -n 1`
+distMode=`$bin/hbase org.apache.hadoop.hbase.util.HBaseConfTool --config
"${HBASE_CONF_DIR} hbase.cluster.distributed | head -n 1`
(there is a '"' missing after the HBASE_CONF_DIR).... it worked very nicely.
The change in HBaseConfTool.java doesn't look right. You are doing the parse
yourself and presuming I want the hbase-site.xml file only.
What if you change this:
.... $bin/hbase org.apache.hadoop.hbase.util.HBaseConfTool --config
"${HBASE_CONF_DIR}
to be:
HBASE_CONF_DIR=${HBASE_CONF_DIR} $bin/hbase
org.apache.hadoop.hbase.util.HBaseConfTool ....
?
Might have to check for an empty HBASE_CONF_DIR and set it if not set? As is
done in the shell scripts.
Thanks JMS.
> region_mover.rb should move multiple regions at a time
> ------------------------------------------------------
>
> Key: HBASE-8803
> URL: https://issues.apache.org/jira/browse/HBASE-8803
> Project: HBase
> Issue Type: Bug
> Components: Usability
> Affects Versions: 0.94.16, 0.98.1, 0.96.1.1
> Reporter: Jean-Marc Spaggiari
> Assignee: Jean-Marc Spaggiari
> Attachments: 8803v5.txt, HBASE-8803-v0-trunk.patch,
> HBASE-8803-v1-0.94.patch, HBASE-8803-v1-trunk.patch,
> HBASE-8803-v2-0.94.patch, HBASE-8803-v2-0.94.patch, HBASE-8803-v3-0.94.patch,
> HBASE-8803-v4-0.94.patch, HBASE-8803-v4-trunk.patch,
> HBASE-8803-v5-0.94.patch, HBASE-8803-v6-0.94.patch,
> HBASE-8803-v6-trunk.patch, HBASE-8803-v7-trunk.patch
>
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> When there is many regions in a cluster, rolling_restart can take hours
> because region_mover is moving the regions one by one.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)