Author: ramkrishna
Date: Thu Sep 29 17:14:13 2011
New Revision: 1177370

URL: http://svn.apache.org/viewvc?rev=1177370&view=rev
Log:
HBASE-4512 JVMClusterUtil throwing wrong exception when master thread cannot be 
created (Ram)

Modified:
    hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java

Modified: 
hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java
URL: 
http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java?rev=1177370&r1=1177369&r2=1177370&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java 
(original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java 
Thu Sep 29 17:14:13 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) {


Reply via email to