Hi JG,
aah, that could be the reason. Its a standalone client. I would include
hbase-site.xml in the classpath and check it out.
Thank you.
Patrick: The server is not localhost. But the client thinks so. I modified
the hbase.zookeeper.quorum property in hbase-site.xml but even then, it
didn't pick it up. So that was my confusion.
Regards,
Raghava.
On Tue, Jun 8, 2010 at 8:15 PM, Patrick Hunt <[email protected]> wrote:
> The client is unable to connect to the server. According to the log the
> client thinks that the server is at localhost:2181, is it? (check netstat -a
> output for example)
>
> Patrick
>
>
> On 06/08/2010 04:38 PM, Raghava Mutharaju wrote:
>
>> Hi all,
>>
>> I am using HBase API to insert data into a table on a cluster. I am
>> getting the following exception (full stack trace in pastebin, link given
>> below).
>>
>> [java] 10/06/08 05:02:15 WARN zookeeper.ZooKeeperWrapper: Failed to create
>> /hbase -- check quorum servers, currently=localhost:2181
>> [java] org.apache.zookeeper.KeeperException$ConnectionLossException:
>> KeeperErrorCode = ConnectionLoss for /hbase
>>
>> http://pastebin.com/tuwd0dgb
>>
>>
>> Looks like it is considering localhost as the ZooKeeper server. But I did
>> give 3 comma separated machine names for hbase.zookeeper.quorum property
>> in
>> hbase-site.xml. Am I missing some other setting?
>>
>> Thank you.
>>
>> Regards,
>> Raghava.
>>
>>