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 0200ADCD5 for ; Thu, 30 Aug 2012 23:21:08 +0000 (UTC) Received: (qmail 63520 invoked by uid 500); 30 Aug 2012 23:21:07 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 63481 invoked by uid 500); 30 Aug 2012 23:21:07 -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 63324 invoked by uid 99); 30 Aug 2012 23:21:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Aug 2012 23:21:07 +0000 Date: Fri, 31 Aug 2012 10:21:07 +1100 (NCT) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Message-ID: <2023149010.19086.1346368867707.JavaMail.jiratomcat@arcas> In-Reply-To: <385312021.19046.1346368628050.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (CASSANDRA-4595) Nodetool commands like scrub uses hard coded data directory path to be /var/lib/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-4595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13445421#comment-13445421 ] Jonathan Ellis commented on CASSANDRA-4595: ------------------------------------------- Nodetool just sends JMX commands to the server, it never tries to access data directories itself. I further note that I don't see "/var/lib/cassandra" hardcoded anywhere in the source tree. > Nodetool commands like scrub uses hard coded data directory path to be /var/lib/cassandra > ----------------------------------------------------------------------------------------- > > Key: CASSANDRA-4595 > URL: https://issues.apache.org/jira/browse/CASSANDRA-4595 > Project: Cassandra > Issue Type: Bug > Components: Core > Affects Versions: 1.1.4 > Reporter: sankalp kohli > Priority: Minor > Labels: nodetool > Original Estimate: 24h > Remaining Estimate: 24h > > If your data directory is not /var/lib/cassandra, the scrub and other nodetool commands won't work. This should not be hard coded but rather be picked up from the yaml. > We have to create sym links to get around it. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira