John Vines created ACCUMULO-4513:
------------------------------------

             Summary: Master hangs if shutdown requested while in state 
"HAS_LOCK"
                 Key: ACCUMULO-4513
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-4513
             Project: Accumulo
          Issue Type: Bug
    Affects Versions: 1.7.2, 1.6.6
            Reporter: John Vines
            Priority: Critical


The StatusThread.run() method does not have any means to change the masters 
state out of HAS_LOCK when CLEAN_STOP is requested, which can cause the master 
to get perpetually stuck

Additionally, because the master never hit the NORMAL state, the main 
Master.run() was jammed at waitForMetadataUpgrade.await() so the thrift server 
was never started and shutdown couldn't be issued directly (not entirely 
confident that would have actually fixed anything though this is contrary to 
the the state transition chart which says we can go from HAVE_LOCK->STOP)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to