Thanks for reply.

Yes, it was using a default.

I paste the stacktrace where it was hung.


Object.wait(long) line: not available [native method]   
RootRegionTracker(ZooKeeperNodeTracker).blockUntilAvailable(long) line: 122     
RootRegionTracker.waitRootRegionLocation(long) line: 73 
HConnectionManager$HConnectionImplementation.locateRegion(byte[],
byte[], boolean) line: 578
HConnectionManager$HConnectionImplementation.locateRegion(byte[],
byte[]) line: 558
HConnectionManager$HConnectionImplementation.locateRegionInMeta(byte[],
byte[], byte[], boolean, Object) line: 687
HConnectionManager$HConnectionImplementation.locateRegion(byte[],
byte[], boolean) line: 589
HConnectionManager$HConnectionImplementation.locateRegion(byte[],
byte[]) line: 558
HConnectionManager$HConnectionImplementation.locateRegionInMeta(byte[],
byte[], byte[], boolean, Object) line: 687
HConnectionManager$HConnectionImplementation.locateRegion(byte[],
byte[], boolean) line: 593
HConnectionManager$HConnectionImplementation.locateRegion(byte[],
byte[]) line: 558
HTable.<init>(Configuration, byte[]) line: 171  
HTable.<init>(Configuration, String) line: 145  
HBaseTest.test() line: 45       


Is this useful for you?

Thanks!



2011/7/24 Stack <[email protected]>:
> I agree that it should throw an exception.
>
> Was it using a default?  Can you tell where it was hung?
>
> St.Ack
>
> On Sat, Jul 23, 2011 at 6:38 AM, Takuya UESHIN <[email protected]> wrote:
>> Hi,
>>
>> I manage HBase cluster changing configuration like
>>
>> <property>
>>  <name>zookeeper.znode.parent</name>
>>  <value>/master</value>
>> </property>
>>
>> for a replication purpose.
>>
>> When I wrote a client application but made mistake that I forgot to
>> add the configuration above,
>> I was kept waiting because ZooKeeper didn't response.
>>
>> I'd expect that some exception should be thrown, or are there any
>> reasons not to throw?
>>
>> Thanks!
>>
>> --
>> Takuya UESHIN
>> Tokyo, Japan
>>
>> http://twitter.com/ueshin
>>
>



-- 
Takuya UESHIN
Tokyo, Japan

http://twitter.com/ueshin

Reply via email to