cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sucwinder Bassi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-6449) Tools error out if they can't make ~/.cassandra
Date Thu, 24 Apr 2014 16:18:19 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-6449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13979895#comment-13979895
] 

Sucwinder Bassi commented on CASSANDRA-6449:
--------------------------------------------

I've had another user run into this issue who would like this functionality. I can reproduce
the problem just by restricting write access to the users home dir that is running nodetool.

> 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
>              Labels: lhf
>
> 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)

Mime
View raw message