Author: ramkrishna
Date: Thu Sep 29 17:18:49 2011
New Revision: 1177372
URL: http://svn.apache.org/viewvc?rev=1177372&view=rev
Log:
HBASE-4512 JVMClusterUtil throwing wrong exception when master thread cannot be
created (Ram)
Modified:
hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java
Modified:
hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java
URL:
http://svn.apache.org/viewvc/hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java?rev=1177372&r1=1177371&r2=1177372&view=diff
==============================================================================
---
hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java
(original)
+++
hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java
Thu Sep 29 17:18:49 2011
@@ -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) {