HBASE-3299 If failed open, we don't output the IOE

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1041204 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2010-12-01 22:56:27 +00:00
parent 2149ccd6d8
commit 8f35221a02
2 changed files with 4 additions and 3 deletions

View File

@ -731,6 +731,7 @@ Release 0.90.0 - Unreleased
of .META.
HBASE-3294 WARN org.apache.hadoop.hbase.regionserver.Store: Not in set
(double-remove?) org.apache.hadoop.hbase.regionserver.StoreScanner@76607d3d
HBASE-3299 If failed open, we don't output the IOE
IMPROVEMENTS

View File

@ -111,8 +111,8 @@ public class OpenRegionHandler extends EventHandler {
}
});
} catch (IOException e) {
LOG.error("IOException instantiating region for " + regionInfo +
"; resetting state of transition node from OPENING to OFFLINE");
LOG.error("Failed open of " + regionInfo +
"; resetting state of transition node from OPENING to OFFLINE", e);
try {
// TODO: We should rely on the master timing out OPENING instead of this
// TODO: What if this was a split open? The RS made the OFFLINE
@ -216,4 +216,4 @@ public class OpenRegionHandler extends EventHandler {
}
return openingVersion;
}
}
}