Keith,

If you are using HBase 0.20 (you didn't tell) then hbase.master is
deprecated. The new setting in 0.20 to set inside clients is
hbase.zookeeper.quorum which by default is localhost. See what
"localhost" resolves to inside your VM and if it's not 127.0.0.1 (or
some equivalent) then try setting  hbase.zookeeper.quorum to that
value in your client.

J-D

On Mon, Oct 5, 2009 at 11:00 AM, Keith Thomas <[email protected]> wrote:
>
> Hi,
>
> I am trying to move my HBase client application from,
>
> - a Ubuntu Virtual Machine running HBase in pseudo distributed mode with
> default configuration settings, to,
> - the OS X machine hosting the Ubuntu Virtual Machine running HBase
>
> Based upon other Nabble threads I have inserted a set() line into my code,
>
>                        this.hbConfig = new HBaseConfiguration();
>                        this.hbConfig.set("hbase.master", 
> "192.168.1.19:60000"); // New
> code added
>                        this.hbAdmin = new HBaseAdmin(this.hbConfig);
>
> but I see the following exception thrown when executing the 'new
> HBaseAdmin(...)' statement,
>
> org.apache.hadoop.hbase.MasterNotRunningException
>        at
> org.apache.hadoop.hbase.client.HConnectionManager$TableServers.getMaster(HConnectionManager.java:347)
>
> I am suspicious I have not configured my client correctly as I cannot find
> an "hbase.master" property in my HBase XML config files. Apologies if there
> are some docs I should have read, if this is the case please just point me
> at the appropriate docs.
>
>
>
>
>
> --
> View this message in context: 
> http://www.nabble.com/HBase-client-query-tp25752430p25752430.html
> Sent from the HBase User mailing list archive at Nabble.com.
>
>

Reply via email to