Thanks J-D, sorry I was slow on the uptake, now I understand exactly what you
mean. 

Fyi I want two different machines running on my one laptop because I am
writing a framework plug-in not an app and as part of the docs I am writing
I have to describe how to configure my plug-in to work in an instance of an
app working on a different machine to HBase.

I am now working.

-Keith


Jean-Daniel Cryans-2 wrote:
> 
> Keith,
> 
> This is exactly what I said in my first email, by default the value is
> localhost and the IP it points to depends on your OS config which in
> your case is 127.0.1.1
> 
> The thing with hbase.master is that since HBase is now capable of
> handling master failover, this value would only make sense if the
> master never dies or if the new master has the same address. Also,
> pseudo-distributed is more meant for local operation so instead of
> running it inside a VM you should run it directly in OSX... unless
> there's a particular reason why you want to maintain a VM.
> 
> J-D
> 
> On Thu, Oct 8, 2009 at 7:46 PM, Keith Thomas <[email protected]>
> wrote:
>>
>> Thank you Barney Frank, your detailed notes were very helpful in
>> confirming I
>> was doing things correctly already on the client. I did a lot of tracing
>> through the HBase code and concluded that the  problem lay with my
>> server.
>>
>> It looks like 0.20.0 has all sorts of DNS config entries and by default
>> in
>> my setup, the address of my one server - running peudo distributed hbase
>> and
>> hadoop for development purposes - resolves to 127.0.1.1 all the time. My
>> client gets back all sorts of addressing details from the server (from
>> zookeeper presumably) telling my client things are running on 127.0.1.1,
>> which of course they are not.
>>
>> I think my question now boils down to how can I configure Zookeeper so it
>> will return the address of the virtual machine it is running on
>> automatically, regardless of whether my laptop is connected to a network
>> or
>> running disconnected on on a plane.
>>
>> To a newbie like myself he pre-0.20.0 type functionality (e..g.
>> 'hbase.master') seems to be more likely to meet my needs than a DNS based
>> solution, but what do I know :-)
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/HBase-client-query-tp25752430p25813504.html
>> Sent from the HBase User mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/HBase-client-query-tp25752430p25814717.html
Sent from the HBase User mailing list archive at Nabble.com.

Reply via email to