HADOOP-1805 Region server hang on exit
Catch runtime exceptions in HMemcacheScanner constructor to ensure that read lock is released. git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@570918 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
47587a272f
commit
5dc1ee32c0
|
@ -23,6 +23,7 @@ Trunk (unreleased changes)
|
|||
HADOOP-1780 Regions are still being doubly assigned
|
||||
HADOOP-1797 Fix NPEs in MetaScanner constructor
|
||||
HADOOP-1799 Incorrect classpath in binary version of Hadoop
|
||||
HADOOP-1805 Region server hang on exit
|
||||
|
||||
IMPROVEMENTS
|
||||
HADOOP-1737 Make HColumnDescriptor data publically members settable
|
||||
|
|
|
@ -332,8 +332,13 @@ public class HMemcache {
|
|||
}
|
||||
}
|
||||
}
|
||||
} catch (RuntimeException ex) {
|
||||
LOG.error("error initializing HMemcache scanner: ", ex);
|
||||
close();
|
||||
throw ex;
|
||||
|
||||
} catch(IOException ex) {
|
||||
LOG.error(ex);
|
||||
LOG.error("error initializing HMemcache scanner: ", ex);
|
||||
close();
|
||||
throw ex;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue