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 DCCE9200C5B for ; Thu, 27 Apr 2017 12:28:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id DB47E160BA7; Thu, 27 Apr 2017 10:28:14 +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 09BE5160B98 for ; Thu, 27 Apr 2017 12:28:13 +0200 (CEST) Received: (qmail 53251 invoked by uid 500); 27 Apr 2017 10:28:12 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 53240 invoked by uid 99); 27 Apr 2017 10:28:12 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Apr 2017 10:28:12 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 00BE0C05A7 for ; Thu, 27 Apr 2017 10:28:12 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.896 X-Spam-Level: X-Spam-Status: No, score=-0.896 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.796, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id mK3PE0mJ7qZi for ; Thu, 27 Apr 2017 10:28:09 +0000 (UTC) Received: from mail-vk0-f48.google.com (mail-vk0-f48.google.com [209.85.213.48]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id C17635F4EE for ; Thu, 27 Apr 2017 10:28:08 +0000 (UTC) Received: by mail-vk0-f48.google.com with SMTP id j127so14717799vkh.0 for ; Thu, 27 Apr 2017 03:28:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=WTHWOf5ShVgCWenHH6F+nhnc1WhgpiwCza+FGT2f1TE=; b=dy93UKG/30IAivUte9i0tUTg2CF1m0O3cnpFP8oVYQy//Y14M7smSJIAj8u1t6/2zI 98sYyNzbXXtsfWhdGdeOWyXBmWaTKRq9SNZ7sfaH4h1ijBGdMhv7lbZistr00ce/mZv7 TGA6MHRx6wWhRnE97j2DadCXwKt/xHrrp5MZcI3WSjNIEhj9oKG7fcx/IVJmcbi+RfIZ t0U/htTEiBEN0DTRX70GC7BwtfzRUav9SHOzaDOO6CCUjU3h95RYswGjV/IncT+37G1n qGUTtA/GGhEZkBSf2vyvLC85m+u7LMevM6tgaY8Gm8rZEfT+fl4MHDaW4jjIxqfii3CH WTYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=WTHWOf5ShVgCWenHH6F+nhnc1WhgpiwCza+FGT2f1TE=; b=fbrZpjnQfazxjsOp5/kxZJVZmhqumjnqzJluCw66KsKpMoTlgpu/w0t5LDEMimhPjf Jn+fjiHN4+3t26PrU1Cfc1QHuYxfeZ5tN4kjW/MBVq+F7nLSwoTCTAyDX92DDtV5lCZV MpexY20YbmAtQ1ymlymAszligF8pic9/j8dGLwsB6IoCW//37qVKqnH1720/RjA974Or NGNtbROn+DcMkwXD5eoeINn2mreydRrmchEipF9RGzs+fDp4v+nXilutLErFFxoRRnnp QbyYa/kWCdfxo7c1mhSGt/uqiFX7zbMN8eYOP3LVw05RAWWClje0swD/3vSSVpi9d4Hl pz8Q== X-Gm-Message-State: AN3rC/4FCLlv+lPjNfJ1XE/YHLdpzjqkI6GnM5brw7vxJ3yet+2SqJMo ROSRifVQjp3HNzcouSSguS56v3WkKQnX X-Received: by 10.31.161.214 with SMTP id k205mr2270745vke.57.1493288881857; Thu, 27 Apr 2017 03:28:01 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.89.153 with HTTP; Thu, 27 Apr 2017 03:27:41 -0700 (PDT) In-Reply-To: References: From: Alain RODRIGUEZ Date: Thu, 27 Apr 2017 12:27:41 +0200 Message-ID: Subject: Re: [Cassandra] nodetool compactionstats not showing pending task. To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=001a1143f16859abc9054e2369d7 archived-at: Thu, 27 Apr 2017 10:28:15 -0000 --001a1143f16859abc9054e2369d7 Content-Type: text/plain; charset=UTF-8 Hi, I am not sure about this one. It happened to me in the past as well. I never really wondered about it as it was gone after a while or a restart off the top of my head. To get rid of it, a restart might be enough. But if you feel like troubleshooting this, I think the first thing is to try to see if compactions are really happening. Maybe using JMX, I believe `org.apache.cassandra.metrics:type=Compaction,name=PendingTasks` is what is used by 'nodetool compactionstats' but they might be more info there. Actually I don't really know what the 'system.compactions_in_progress' was replaced by, but any way to double check you could think of would probably help understanding better what's happening. Does someone now the way to check pending compactions details in 3.0.9? C*heers, ----------------------- Alain Rodriguez - @arodream - alain@thelastpickle.com France The Last Pickle - Apache Cassandra Consulting http://www.thelastpickle.com 2017-04-25 15:13 GMT+02:00 Abhishek Kumar Maheshwari < Abhishek.Maheshwari@timesinternet.in>: > Hi All, > > > > In Production, I am using Cassandra 3.0.9. > > > > While I am running nodetool compactionstats command its just showing count > not any other information like below: > > > > [mohit.kundra@AdtechAppXXXX bin]$ ./nodetool -h XXX.XX.XX.XX > compactionstats > > pending tasks: 3 > > [mohit.kundra@AdtechAppXXXXX bin]$ > > > > So, this is some Cassandra bug or what? I am not able to understand. > > > > > > *Thanks & Regards,* > *Abhishek Kumar Maheshwari* > *+91- 9999805591 <+91%2099998%2005591> (Mobile)* > > Times Internet Ltd. | A Times of India Group Company > > FC - 6, Sector 16A, Film City, Noida, U.P. 201301 | INDIA > > *P** Please do not print this email unless it is absolutely necessary. > Spread environmental awareness.* > > > "Learn journalism at India's largest media house - The Times of India > Group. Last Date 28 April, 2017. Visit www.tcms.in for details." > --001a1143f16859abc9054e2369d7 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

I am not sure about this one. It ha= ppened to me in the past as well. I never really wondered about it as it wa= s gone after a while or a restart off the top of my head. To get rid of it,= a restart might be enough.

But if you feel like t= roubleshooting this, I think the first thing is to try to see if compaction= s are really happening. Maybe using JMX, I believe `org.apache.cassandra.me= trics:type=3DCompaction,name=3DPendingTasks` is what is used by 'nodeto= ol compactionstats' but they might be more info there. Actually I don&#= 39;t really know what the 'system.compactions_in_progress' was repl= aced by, but any way to double check you could think of would probably help= understanding better what's happening.

Does s= omeone now the way to check pending compactions details in 3.0.9?

C*heers,
-----------------------
A= lain Rodriguez - @arodream - ala= in@thelastpickle.com
France

The Last= Pickle - Apache Cassandra Consulting

2017-04-25 15:13 GMT+02:00 = Abhishek Kumar Maheshwari <Abhishek.Maheshwari@timesint= ernet.in>:

Hi All,

=C2=A0

In Production, I am using Cassandra 3.0.9.=

=C2=A0

While I am running nodetool compactionstats command = its just showing count not any other information like below:<= /p>

=C2=A0

[mohit.kundra@AdtechAppXXXX bin]$ ./nodetool -h XXX.= XX.XX.XX compactionstats

pending tasks: 3

[mohit.kundra@AdtechAppXXXXX bin]$

=C2=A0

So, this is some Cassandra bug or what? I am not abl= e to understand.

=C2=A0

=C2=A0

Thanks & Regards,
Abhishek Kumar Maheshwari
+91-=C2=A09999805591=C2=A0(Mobile)

Times Internet Ltd. | A Times of India G= roup Company

FC - 6, Sector 16A, Film City,=C2=A0 Noi= da,=C2=A0 U.P. 201301 | INDIA

P Please do not print this= email unless it is absolutely necessary. Spread environmental awareness.

=C2=A0

"Learn journalism at India's largest media house - The Times of In= dia Group. Last Date 28 April, 2017. Visit www.tcms.in for details."

--001a1143f16859abc9054e2369d7--