cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brandonwilli...@apache.org
Subject [06/13] git commit: nodetool doesn't error when ~/.cassandra is inaccessible
Date Wed, 18 Jun 2014 19:19:09 GMT
nodetool doesn't error when ~/.cassandra is inaccessible

Patch by Kirk True, reviewed by brandonwilliams for CASSANDRA-6449


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

Branch: refs/heads/cassandra-2.1
Commit: c1b5c270df35bd9554d565c44cd409ec9d96b44f
Parents: 5d25a16
Author: Brandon Williams <brandonwilliams@apache.org>
Authored: Wed Jun 18 14:16:26 2014 -0500
Committer: Brandon Williams <brandonwilliams@apache.org>
Committed: Wed Jun 18 14:16:26 2014 -0500

----------------------------------------------------------------------
 src/java/org/apache/cassandra/tools/NodeCmd.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/c1b5c270/src/java/org/apache/cassandra/tools/NodeCmd.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/tools/NodeCmd.java b/src/java/org/apache/cassandra/tools/NodeCmd.java
index 1af1ec8..213e4b4 100644
--- a/src/java/org/apache/cassandra/tools/NodeCmd.java
+++ b/src/java/org/apache/cassandra/tools/NodeCmd.java
@@ -1531,7 +1531,7 @@ public class NodeCmd
             SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss,SSS");
             writer.append(sdf.format(new Date()) + ": " + cmdLine + "\n");
         }
-        catch (IOException ioe)
+        catch (IOException | IOError ioe)
         {
             //quietly ignore any errors about not being able to write out history
         }


Mime
View raw message