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 93DB9100A5 for ; Mon, 3 Mar 2014 20:48:22 +0000 (UTC) Received: (qmail 55039 invoked by uid 500); 3 Mar 2014 20:48:22 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 54982 invoked by uid 500); 3 Mar 2014 20:48:21 -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 54972 invoked by uid 99); 3 Mar 2014 20:48:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Mar 2014 20:48:21 +0000 Date: Mon, 3 Mar 2014 20:48:21 +0000 (UTC) From: "Mikhail Stepura (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-6475) Control nodetool history logging directory 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-6475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13918555#comment-13918555 ] Mikhail Stepura commented on CASSANDRA-6475: -------------------------------------------- I believe pyhton's {{os.path.expanduser('~')}} is the same as Java's {{System.getProperty("user.home")}}. And {{user.home}} is a Java System property (not an env. variable) which expands to a real env. variable. > Control nodetool history logging directory > ------------------------------------------ > > Key: CASSANDRA-6475 > URL: https://issues.apache.org/jira/browse/CASSANDRA-6475 > Project: Cassandra > Issue Type: New Feature > Components: Tools > Reporter: Brian Nixon > Assignee: sankalp kohli > Priority: Trivial > Labels: lhf > Attachments: trunk-6475.diff > > > Nodetool history is logged to a directory based on the current user home. This leads to splintering of history with more than one user and, in one case, a failure to run any nodetool commands as the user did not have write access to their home directory. > Suggested fix is to make the base directory for the history logging (both nodetool and cli) configurable. A way to disable the logging of these tools would also help. > Reference: > https://issues.apache.org/jira/browse/CASSANDRA-5823 -- This message was sent by Atlassian JIRA (v6.2#6252)