HBASE-4512 JVMClusterUtil throwing wrong exception when master thread cannot be created (Ram)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1177370 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6f30cf7f6c
commit
8585691fcd
|
@ -152,7 +152,7 @@ public class JVMClusterUtil {
|
|||
server = hmc.getConstructor(Configuration.class).newInstance(c);
|
||||
} catch (InvocationTargetException ite) {
|
||||
Throwable target = ite.getTargetException();
|
||||
throw new RuntimeException("Failed construction of RegionServer: " +
|
||||
throw new RuntimeException("Failed construction of Master: " +
|
||||
hmc.toString() + ((target.getCause() != null)?
|
||||
target.getCause().getMessage(): ""), target);
|
||||
} catch (Exception e) {
|
||||
|
|
Loading…
Reference in New Issue