22482249225022512252225322542255225622572258
serverShutdownHandlerEnabled = false; initialized = false; finishInitialization(status, true); return !stopped; } finally { status.cleanup(); } } }; long timeout =
972973974975976977978979980981982
try { synchronized (closeLock) { return doClose(abort, status); } } finally { status.cleanup(); } } private Map<byte[], List<StoreFile>> doClose(final boolean abort, MonitoredTask status) throws IOException {
13801381138213831384138513861387138813891390
status.markComplete("Compaction complete"); return true; } finally { try { if (!didPerformCompaction) store.cancelRequestedCompaction(compaction); if (status != null) status.cleanup(); } finally { lock.readLock().unlock(); } } }
14651466146714681469147014711472147314741475
writestate.notifyAll(); } } } finally { lock.readLock().unlock(); status.cleanup(); } } /** * Should the memstore be flushed now
30993100310131023103310431053106310731083109
", maxSequenceidInLog=" + currentEditSeqId + ", path=" + edits; status.markComplete(msg); LOG.debug(msg); return currentEditSeqId; } finally { status.cleanup(); if (reader != null) { reader.close(); } } }
327328329330331332333334335336337
loop(); } } catch (Throwable t) { abort("Unhandled exception. Starting shutdown.", t); } finally { startupStatus.cleanup(); stopChores(); // Wait for all the remaining region servers to report in IFF we were // running a cluster shutdown AND we were NOT aborting. if (!this.abort && this.serverManager != null &&
13161317131813191320132113221323132413251326
// TODO: Why does this not call AssignmentManager.joinCluster? Otherwise // we are not processing dead servers if any. assignmentManager.processDeadServersAndRegionsInTransition(); return Boolean.TRUE; } finally { status.cleanup(); } } }; long timeout =
721722723724725726727728729730731
try { synchronized (closeLock) { return doClose(abort, status); } } finally { status.cleanup(); } } private List<StoreFile> doClose( final boolean abort, MonitoredTask status)
10381039104010411042104310441045104610471048
} } status.markComplete("Compaction complete"); return true; } finally { status.cleanup(); lock.readLock().unlock(); } } /**
11161117111811191120112111221123112411251126
writestate.notifyAll(); } } } finally { lock.readLock().unlock(); status.cleanup(); } } /** * Flush the memstore.