HADOOP-2109 Fix another race condition in processing dead servers
git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@591549 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d8f4792f8e
commit
ad743978ed
|
@ -20,6 +20,7 @@ Trunk (unreleased changes)
|
|||
HADOOP-2083 TestTableIndex failed in #970 and #956
|
||||
HADOOP-2109 Fixed race condition in processing server lease timeout.
|
||||
HADOOP-2137 hql.jsp : The character 0x19 is not valid
|
||||
HADOOP-2109 Fix another race condition in processing dead servers
|
||||
|
||||
IMPROVEMENTS
|
||||
HADOOP-2401 Add convenience put method that takes writable
|
||||
|
|
|
@ -2087,7 +2087,7 @@ HMasterRegionInterface {
|
|||
if (closed.get()) {
|
||||
return true;
|
||||
}
|
||||
if (!rootScanned ||
|
||||
if (!rootRescanned ||
|
||||
numberOfMetaRegions.get() != onlineMetaRegions.size()) {
|
||||
// We can't proceed because not all of the meta regions are online.
|
||||
// We can't block either because that would prevent the meta region
|
||||
|
@ -2096,7 +2096,7 @@ HMasterRegionInterface {
|
|||
|
||||
if (LOG.isDebugEnabled()) {
|
||||
LOG.debug("Requeuing shutdown because rootScanned: " +
|
||||
rootScanned + ", numberOfMetaRegions: " +
|
||||
rootRescanned + ", numberOfMetaRegions: " +
|
||||
numberOfMetaRegions.get() + ", onlineMetaRegions.size(): " +
|
||||
onlineMetaRegions.size());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue