I added the following at the beginning of getConfiguration():
  $LOG.info("HBase dir " + config.get(HConstants::HBASE_DIR))
I saw the correct root directory.

So region_mover.rb picked up config.

FYI

On Fri, Feb 24, 2012 at 3:45 PM, Stack <[email protected]> wrote:

> On Fri, Feb 24, 2012 at 3:24 PM, Ted Yu <[email protected]> wrote:
> > So the following from hbase-site.xml is of no use ?
> >
> >  <name>hbase.rootdir</name>
> >  <value>hdfs://a.e.com/hbase</value>
> >
>
> We take that and set its scheme as default fs usually.  Its not
> happening in the script.  I thought the stuff I pasted earlier would
> help.  Ask the Configuration object what it thinks default scheme/fs
> is.  If its file when hbase-site.xml says otherwise, we're not reading
> it properly or the script needs to set it so.
>
> St.Ack
>

Reply via email to