Author: ramkrishna
Date: Thu Sep 29 17:30:12 2011
New Revision: 1177377
URL: http://svn.apache.org/viewvc?rev=1177377&view=rev
Log:
HBASE-4512 JVMClusterUtil throwing wrong exception when master thread cannot be
created (Ram)
Modified:
hbase/branches/0.90/CHANGES.txt
hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java
Modified: hbase/branches/0.90/CHANGES.txt
URL:
http://svn.apache.org/viewvc/hbase/branches/0.90/CHANGES.txt?rev=1177377&r1=1177376&r2=1177377&view=diff
==============================================================================
--- hbase/branches/0.90/CHANGES.txt (original)
+++ hbase/branches/0.90/CHANGES.txt Thu Sep 29 17:30:12 2011
@@ -64,6 +64,7 @@ Release 0.90.5 - Unreleased
(Lars Hofhansl)
HBASE-4295 rowcounter does not return the correct number of rows in
certain circumstances (David Revell)
+ HBASE-4512 JVMClusterUtil throwing wrong exception when master thread
cannot be created (Ram)
IMPROVEMENT
HBASE-4205 Enhance HTable javadoc (Eric Charles)
Modified:
hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java
URL:
http://svn.apache.org/viewvc/hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java?rev=1177377&r1=1177376&r2=1177377&view=diff
==============================================================================
---
hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java
(original)
+++
hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java
Thu Sep 29 17:30:12 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) {