Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CAEC0111BB for ; Wed, 18 Jun 2014 19:12:27 +0000 (UTC) Received: (qmail 18211 invoked by uid 500); 18 Jun 2014 19:12:25 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 18166 invoked by uid 500); 18 Jun 2014 19:12:25 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 18082 invoked by uid 99); 18 Jun 2014 19:12:25 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Jun 2014 19:12:25 +0000 Date: Wed, 18 Jun 2014 19:12:25 +0000 (UTC) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-6449) Tools error out if they can't make ~/.cassandra MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-6449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14036192#comment-14036192 ] Jonathan Ellis commented on CASSANDRA-6449: ------------------------------------------- Patch applies to 2.0 if you point it at src/java/org/apache/cassandra/tools/NodeCmd.java. > Tools error out if they can't make ~/.cassandra > ----------------------------------------------- > > Key: CASSANDRA-6449 > URL: https://issues.apache.org/jira/browse/CASSANDRA-6449 > Project: Cassandra > Issue Type: Bug > Components: Tools > Reporter: Jeremiah Jordan > Assignee: Kirk True > Labels: lhf > Fix For: 1.2.17, 2.0.9 > > Attachments: trunk-6449.txt > > > We shouldn't error out if we can't make the .cassandra folder for the new history stuff. > {noformat} > Exception in thread "main" FSWriteError in /usr/share/opscenter-agent/.cassandra > at org.apache.cassandra.io.util.FileUtils.createDirectory(FileUtils.java:261) > at org.apache.cassandra.utils.FBUtilities.getToolsOutputDirectory(FBUtilities.java:627) > at org.apache.cassandra.tools.NodeCmd.printHistory(NodeCmd.java:1403) > at org.apache.cassandra.tools.NodeCmd.main(NodeCmd.java:1122) > Caused by: java.io.IOException: Failed to mkdirs /usr/share/opscenter-agent/.cassandra > ... 4 more > {noformat} -- This message was sent by Atlassian JIRA (v6.2#6252)