hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bryanduxb...@apache.org
Subject svn commit: r794059 - /hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/zookeeper/HQuorumPeer.java
Date Tue, 14 Jul 2009 20:32:31 GMT
Author: bryanduxbury
Date: Tue Jul 14 20:32:31 2009
New Revision: 794059

URL: http://svn.apache.org/viewvc?rev=794059&view=rev
Log:
HBASE-1656: loadZooConfig can mask true error

Include the original exception along with the new message.


Modified:
    hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/zookeeper/HQuorumPeer.java

Modified: hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/zookeeper/HQuorumPeer.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/zookeeper/HQuorumPeer.java?rev=794059&r1=794058&r2=794059&view=diff
==============================================================================
--- hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/zookeeper/HQuorumPeer.java (original)
+++ hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/zookeeper/HQuorumPeer.java Tue Jul
14 20:32:31 2009
@@ -213,7 +213,7 @@
     } catch (IOException e) {
       String msg = "fail to read properties from " + ZOOKEEPER_CONFIG_NAME;
       LOG.fatal(msg);
-      throw new IOException(msg);
+      throw new IOException(msg, e);
     }
     for (Entry<Object, Object> entry : properties.entrySet()) {
       String value = entry.getValue().toString().trim();



Mime
View raw message