cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jasobr...@apache.org
Subject [3/9] cassandra git commit: DatabaseDescriptor should log stacktrace in case of Eception during seed provider creation
Date Fri, 01 Apr 2016 18:34:12 GMT
DatabaseDescriptor should log stacktrace in case of Eception during seed provider creation

patch by Andrzej Ludwikowski; reviewed by jasobrown for CASSANDRA-11312


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/0ac2072b
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/0ac2072b
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/0ac2072b

Branch: refs/heads/trunk
Commit: 0ac2072bb2cc6d8e069e07f5cbcdf2e83cdc5b5c
Parents: c662259
Author: Andrzej Ludwikowski <andrzejlud@op.pl>
Authored: Mon Mar 7 19:27:54 2016 +0100
Committer: Jason Brown <jasedbrown@gmail.com>
Committed: Fri Apr 1 11:16:35 2016 -0700

----------------------------------------------------------------------
 CHANGES.txt                                                  | 1 +
 src/java/org/apache/cassandra/config/DatabaseDescriptor.java | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/0ac2072b/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index c8a4f21..28903c5 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,4 +1,5 @@
 2.2.6
+ * DatabaseDescriptor should log stacktrace in case of Eception during seed provider creation
(CASSANDRA-11312)
  * Use canonical path for directory in SSTable descriptor (CASSANDRA-10587)
  * Add cassandra-stress keystore option (CASSANDRA-9325)
  * Fix out-of-space error treatment in memtable flushing (CASSANDRA-11448).

http://git-wip-us.apache.org/repos/asf/cassandra/blob/0ac2072b/src/java/org/apache/cassandra/config/DatabaseDescriptor.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/config/DatabaseDescriptor.java b/src/java/org/apache/cassandra/config/DatabaseDescriptor.java
index 5ad62c3..46e832d 100644
--- a/src/java/org/apache/cassandra/config/DatabaseDescriptor.java
+++ b/src/java/org/apache/cassandra/config/DatabaseDescriptor.java
@@ -669,7 +669,7 @@ public class DatabaseDescriptor
         // there are about 5 checked exceptions that could be thrown here.
         catch (Exception e)
         {
-            throw new ConfigurationException(e.getMessage() + "\nFatal configuration error;
unable to start server.  See log for stacktrace.", false);
+            throw new ConfigurationException(e.getMessage() + "\nFatal configuration error;
unable to start server.  See log for stacktrace.", true);
         }
         if (seedProvider.getSeeds().size() == 0)
             throw new ConfigurationException("The seed provider lists no seeds.", false);


Mime
View raw message