You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Joel Halbert <jo...@su3analytics.com> on 2011/12/04 21:00:01 UTC
Stuck on call to locateRootRegion
Hi,
I have just upgraded to HBase 0.9.0.4 on a fresh Linux install.
My Java client is stuck on this call when connecting to HBase:
java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.sleep(Native Method)
at
org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRootRegion(HConnectionManager.java:974)
at
org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRegion(HConnectionManager.java:625)
There are no errors in the Hbase log. I can connect via the shell.
I suspect some networking related issue. Both processes are on
localhost. I have disabled IPV6.
Any clues?
I've had this error before on previous installs and I'm ashamed to say I
can't remember how I fixed it then!
Joel
Re: Stuck on call to locateRootRegion
Posted by Joel Halbert <jo...@halbert.it>.
Shame on me. In my haste and excitement to upgrade to the latest version
of hbase I forgot to update the client jar.
On 05/12/11 21:48, Joel Halbert wrote:
> Apologies for spamming thread, just noticed that on old install of
> HBase I had 2 local processes:
>
> org.apache.hadoop.hbase.master.HMaster
> org.apache.hadoop.hbase.zookeeper.HQuorumPeer
>
> But now with hbase 0.90.4 I only have one:
>
> org.apache.hadoop.hbase.master.HMaster
>
> Have something change or (more likely) have I missed something out?
>
> I'm running a standalone instance on a single machine, no hadoop.
>
>
> On 05/12/11 21:37, Joel Halbert wrote:
>> A little more info, I see this in the hbase master logs:
>>
>> 011-12-05 21:35:28,203 INFO
>> org.apache.zookeeper.server.NIOServerCnxn: Accepted socket connection
>> from /127.0.0.1:50621
>> 2011-12-05 21:35:28,209 INFO
>> org.apache.zookeeper.server.NIOServerCnxn: Client attempting to
>> establish new session at /127.0.0.1:50621
>> 2011-12-05 21:35:28,243 INFO
>> org.apache.zookeeper.server.NIOServerCnxn: Established session
>> 0x1341026d7090004 with negotiated timeout 40000 for client
>> /127.0.0.1:50621
>>
>>
>> Still no joy connecting though.
>>
>> Any hints much appreciated!
>>
>> On 04/12/11 20:00, Joel Halbert wrote:
>>> Hi,
>>>
>>> I have just upgraded to HBase 0.9.0.4 on a fresh Linux install.
>>>
>>> My Java client is stuck on this call when connecting to HBase:
>>>
>>> java.lang.Thread.State: TIMED_WAITING (sleeping)
>>> at java.lang.Thread.sleep(Native Method)
>>> at
>>> org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRootRegion(HConnectionManager.java:974)
>>> at
>>> org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRegion(HConnectionManager.java:625)
>>>
>>>
>>> There are no errors in the Hbase log. I can connect via the shell.
>>>
>>> I suspect some networking related issue. Both processes are on
>>> localhost. I have disabled IPV6.
>>>
>>> Any clues?
>>>
>>> I've had this error before on previous installs and I'm ashamed to
>>> say I can't remember how I fixed it then!
>>>
>>> Joel
>>>
>>
>>
>
>
Re: Stuck on call to locateRootRegion
Posted by Joel Halbert <jo...@halbert.it>.
Apologies for spamming thread, just noticed that on old install of HBase
I had 2 local processes:
org.apache.hadoop.hbase.master.HMaster
org.apache.hadoop.hbase.zookeeper.HQuorumPeer
But now with hbase 0.90.4 I only have one:
org.apache.hadoop.hbase.master.HMaster
Have something change or (more likely) have I missed something out?
I'm running a standalone instance on a single machine, no hadoop.
On 05/12/11 21:37, Joel Halbert wrote:
> A little more info, I see this in the hbase master logs:
>
> 011-12-05 21:35:28,203 INFO org.apache.zookeeper.server.NIOServerCnxn:
> Accepted socket connection from /127.0.0.1:50621
> 2011-12-05 21:35:28,209 INFO
> org.apache.zookeeper.server.NIOServerCnxn: Client attempting to
> establish new session at /127.0.0.1:50621
> 2011-12-05 21:35:28,243 INFO
> org.apache.zookeeper.server.NIOServerCnxn: Established session
> 0x1341026d7090004 with negotiated timeout 40000 for client
> /127.0.0.1:50621
>
>
> Still no joy connecting though.
>
> Any hints much appreciated!
>
> On 04/12/11 20:00, Joel Halbert wrote:
>> Hi,
>>
>> I have just upgraded to HBase 0.9.0.4 on a fresh Linux install.
>>
>> My Java client is stuck on this call when connecting to HBase:
>>
>> java.lang.Thread.State: TIMED_WAITING (sleeping)
>> at java.lang.Thread.sleep(Native Method)
>> at
>> org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRootRegion(HConnectionManager.java:974)
>> at
>> org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRegion(HConnectionManager.java:625)
>>
>>
>> There are no errors in the Hbase log. I can connect via the shell.
>>
>> I suspect some networking related issue. Both processes are on
>> localhost. I have disabled IPV6.
>>
>> Any clues?
>>
>> I've had this error before on previous installs and I'm ashamed to
>> say I can't remember how I fixed it then!
>>
>> Joel
>>
>
>
Re: Stuck on call to locateRootRegion
Posted by Joel Halbert <jo...@halbert.it>.
A little more info, I see this in the hbase master logs:
011-12-05 21:35:28,203 INFO org.apache.zookeeper.server.NIOServerCnxn:
Accepted socket connection from /127.0.0.1:50621
2011-12-05 21:35:28,209 INFO org.apache.zookeeper.server.NIOServerCnxn:
Client attempting to establish new session at /127.0.0.1:50621
2011-12-05 21:35:28,243 INFO org.apache.zookeeper.server.NIOServerCnxn:
Established session 0x1341026d7090004 with negotiated timeout 40000 for
client /127.0.0.1:50621
Still no joy connecting though.
Any hints much appreciated!
On 04/12/11 20:00, Joel Halbert wrote:
> Hi,
>
> I have just upgraded to HBase 0.9.0.4 on a fresh Linux install.
>
> My Java client is stuck on this call when connecting to HBase:
>
> java.lang.Thread.State: TIMED_WAITING (sleeping)
> at java.lang.Thread.sleep(Native Method)
> at
> org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRootRegion(HConnectionManager.java:974)
> at
> org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRegion(HConnectionManager.java:625)
>
>
> There are no errors in the Hbase log. I can connect via the shell.
>
> I suspect some networking related issue. Both processes are on
> localhost. I have disabled IPV6.
>
> Any clues?
>
> I've had this error before on previous installs and I'm ashamed to say
> I can't remember how I fixed it then!
>
> Joel
>