[ 
https://issues.apache.org/jira/browse/HBASE-12?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12570405#action_12570405
 ] 

Bryan Duxbury commented on HBASE-12:
------------------------------------

What should we do when this exception shows up? Immediately cancel the existing 
lease? Let the lease time out and have the RegionServer keep retrying?

I think we should add to the error message and describe possible causes and 
resolutions. Something like "Check your DNS configuration so that all region 
servers are reporting their true IPs and not 127.0.0.1. Otherwise, this problem 
will resolve itself in ${lease-timeout} seconds."

> when hbase regionserver restarts, it says "impossible state for createLease()"
> ------------------------------------------------------------------------------
>
>                 Key: HBASE-12
>                 URL: https://issues.apache.org/jira/browse/HBASE-12
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: regionserver
>            Reporter: Michael Bieniosek
>            Assignee: Jim Kellerman
>            Priority: Minor
>             Fix For: 0.2.0
>
>
> I restarted a regionserver, and got this error in its logs:
> org.apache.hadoop.ipc.RemoteException: java.io.IOException: 
> java.lang.AssertionError: Impossible state for createLease(): Lease 
> -435227488/-435227488 is still held.
>         at org.apache.hadoop.hbase.Leases.createLease(Leases.java:145)
>         at 
> org.apache.hadoop.hbase.HMaster.regionServerStartup(HMaster.java:1278
> )
>         at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>         at java.lang.reflect.Method.invoke(Unknown Source)
>         at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:379)
>         at org.apache.hadoop.ipc.Server$Handler.run(Server.java:596)
>         at org.apache.hadoop.ipc.Client.call(Client.java:482)
>         at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:184)
>         at $Proxy0.regionServerStartup(Unknown Source)
>         at 
> org.apache.hadoop.hbase.HRegionServer.reportForDuty(HRegionServer.jav
> a:1025)
>         at org.apache.hadoop.hbase.HRegionServer.run(HRegionServer.java:659)
>         at java.lang.Thread.run(Unknown Source)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to