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

Todd Lipcon commented on HBASE-4245:
------------------------------------

I was able to reproduce this again, and indeed all of the MetaShutdownHandler 
threads are taken up. Basically, what happened is this:
- most of the RS are in such a state that when they try to write, they will 
abort
- when ROOT gets deployed, it takes a write from META, and then aborts
- its server-shutdown-handler then runs, ROOT gets reassigned, and it's blocked 
waiting on META
- ROOT gets assigned to a new server, META fails to open, and causes another 
server to abort
- after this has happened several times, all of the executors are full, and we 
deadlock.

HBASE-4287 just makes this behavior happen even faster :)

> Cluster hangs if RS serving root fails during startup sequence
> --------------------------------------------------------------
>
>                 Key: HBASE-4245
>                 URL: https://issues.apache.org/jira/browse/HBASE-4245
>             Project: HBase
>          Issue Type: Bug
>          Components: master
>    Affects Versions: 0.90.3
>            Reporter: Todd Lipcon
>            Assignee: ramkrishna.s.vasudevan
>
> On a large-ish cluster, the following sequence of events was seen to happen:
> - master started, ROOT and META were both unassigned
> - ROOT is assigned to rs01
> - META is assigned to rs02
> - Upon open of META, it writes its location into ROOT on rs01
> - rs01 crashes while appending to its HLog due to some other bug
> - rs02 fails the region open sequence
> - master notices that rs01 has crashed, and enqueues a ServerShutdownHandler
> - ServerShutdownHandler blocks on CatalogTracker.waitForMeta() since ROOT and 
> META are not assigned yet
> - master times out assignment of META, but never succeeds because ROOT 
> location is still marked as rs01
> This causes the cluster to never start up.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to