Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3696D200C17 for ; Fri, 10 Feb 2017 21:42:48 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 3523E160B5C; Fri, 10 Feb 2017 20:42:48 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8083E160B4E for ; Fri, 10 Feb 2017 21:42:47 +0100 (CET) Received: (qmail 43666 invoked by uid 500); 10 Feb 2017 20:42:46 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 43656 invoked by uid 99); 10 Feb 2017 20:42:45 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Feb 2017 20:42:45 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 7FF1E186128 for ; Fri, 10 Feb 2017 20:42:45 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.48 X-Spam-Level: X-Spam-Status: No, score=0.48 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=pbandjelly-org.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id UDaiteILCcGx for ; Fri, 10 Feb 2017 20:42:43 +0000 (UTC) Received: from mail-oi0-f65.google.com (mail-oi0-f65.google.com [209.85.218.65]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 096E55F342 for ; Fri, 10 Feb 2017 20:42:43 +0000 (UTC) Received: by mail-oi0-f65.google.com with SMTP id j15so3313866oih.0 for ; Fri, 10 Feb 2017 12:42:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pbandjelly-org.20150623.gappssmtp.com; s=20150623; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=z5iXSTa5L7E78PqqJzsXRfbFUdM2lt7+hnyvJ1Igj08=; b=MLX+/28uqjZZVIEYCkH6Be+GweFc7/O+IDzZm1DylC3scaJbwEzBiJWyhiQTtSOizy YyP210nvGyKOuNsOXhZPyN0q4u6yHc/jaIlcQzDfVDAJlB9lAxAI7DoQKdxC/1SyxEZJ SMIsnrWVKnQWZloxZbzhKFDcg1BwYw+BA1RYrMvd0EKM47n3NpkOXdO2WJKY2batqFcz PCeiuTqoQ4xekRgpL/LC/O8rsyBdNupXAstgsHf7LviVu+XVESEX+x8B/MYnkkUOXcQg WVWIxU7XmH140Gphh9Tn41yCJTLh/j5O5Es5KmTyTUwQVDG8AclkNy+iXrw+iM+JVPvF ukSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=z5iXSTa5L7E78PqqJzsXRfbFUdM2lt7+hnyvJ1Igj08=; b=BNc0c4Qr4kEtM53vOzwmbYqqUHs1zI7C2DfHdnV7tYkGtewhdzjL6yzuABpX8kJ/cI oW3z11xRQsl1xXLVr3tFTMkUawa10zlir9MZLHda7WWuzHBcQA+ZQZKIIm24zb/Rh5oO W0zycixq1eQ9iUlFud/4DUl/Gyskoknoi4pufT3LUpK9i+1TWWEZ5IAmqj6WSius+g36 8FZvkxnVR8WonOpqfpURvkF+J8yzX5uiSNqKC74A0PGRmAU+EPlpnO47RjqCKFg0JeOp sVgcjz0+WvRiCpQW39XDPzBojJ6IjAr4msYqD3nXMD0pm+CMzlmI3fnmqeOlgKmFRiQ6 G6Kg== X-Gm-Message-State: AMke39k279h2ifZ2EvhlyQm9yCWROaVSnvj1E6+D8kj+7Pgu3bCGhMddwdJjqoTKyXP8jQ== X-Received: by 10.202.168.214 with SMTP id r205mr5934710oie.48.1486759362077; Fri, 10 Feb 2017 12:42:42 -0800 (PST) Received: from ?IPv6:2605:6000:1019:1ac:6e88:14ff:fe15:4124? ([2605:6000:1019:1ac:6e88:14ff:fe15:4124]) by smtp.googlemail.com with ESMTPSA id 44sm338917otc.46.2017.02.10.12.42.41 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Feb 2017 12:42:41 -0800 (PST) Sender: Michael Shuler Subject: Re: Nodetool cleanup error - cannot run before a node has joined the ring To: user@cassandra.apache.org References: From: Michael Shuler Message-ID: <1decdd40-0561-159e-28b8-aa57b8becfb3@pbandjelly.org> Date: Fri, 10 Feb 2017 14:42:41 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit archived-at: Fri, 10 Feb 2017 20:42:48 -0000 By default, yes, nodetool connects to localhost, which your log entries show. Use `nodetool -h $PRIV_IP cleanup ...` to connect to that private IP it's listening on. `nodetool help cleanup` for all options. -- Kind regards, Michael On 02/10/2017 02:22 PM, Simone Franzini wrote: > I am running DSE 4.8.7 / Cassandra 2.1.14. > When I attempt to run nodetool cleanup on any node / any environment we > are managing, I get the following output: > > Aborted cleaning up atleast one column family in keyspace , > check server logs for more information. > error: nodetool failed, check server logs > -- StackTrace -- > java.lang.RuntimeException: nodetool failed, check server logs > at > org.apache.cassandra.tools.NodeTool$NodeToolCmd.run(NodeTool.java:294) > at org.apache.cassandra.tools.NodeTool.main(NodeTool.java:206) > > > The server logs do not have any error or warn message, however I see the > following log line: > 2017-02-10 14:06:49,931 INFO [RMI TCP Connection(34)-127.0.0.1] > CompactionManager.java:415 - Cleanup cannot run before a node has > joined the ring > > That is then followed by a line like this, for every single one of our > keyspaces and tables: > 2017-02-10 14:06:49,969 INFO [RMI TCP Connection(34)-127.0.0.1] > CompactionManager.java:294 - No sstables for . > > I find the message above a bit suspicious. Of course I do not have any > node in the process of joining the ring. It looks like nodetool is > having trouble connecting to the Cassandra instance? Is it trying to > connect to localhost? We have Cassandra listening on a private IP, not > on localhost. All other nodetool commands are running fine though. Any > suggestion with what could be the issue here? > > Thanks, > Simone Franzini, PhD > > http://www.linkedin.com/in/simonefranzini