Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 79110 invoked from network); 6 Apr 2011 05:42:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Apr 2011 05:42:08 -0000 Received: (qmail 4421 invoked by uid 500); 6 Apr 2011 05:42:06 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 4175 invoked by uid 500); 6 Apr 2011 05:42:06 -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 4167 invoked by uid 99); 6 Apr 2011 05:42:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Apr 2011 05:42:05 +0000 X-ASF-Spam-Status: No, hits=3.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of chensheng2010@gmail.com designates 209.85.210.172 as permitted sender) Received: from [209.85.210.172] (HELO mail-iy0-f172.google.com) (209.85.210.172) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Apr 2011 05:41:57 +0000 Received: by iye19 with SMTP id 19so1352791iye.31 for ; Tue, 05 Apr 2011 22:41:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=B0Hnhf+9Cg0tQ5SXE4KgEFyqohE/DkROOJ2VVonMl6w=; b=XcFc2VzdlKdoa9RD3RJusvOCHinApO3kjhhOmqLREtgLNQ8Q3Krd/W342w3s8cqXMm xb2txTOM7MOq5OMQXbCSwE1Ek0BBLWd+aXq/IEn3jaBPyfGfM0ask0BjOjY7Sxuv6dC8 Zph9EXGtEmgzBbvpN8K6J/PEVZ5j7baZdZeWA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=ESEs1MmpZUNoK/ue+ZsHGhA5xrZcnT4hms4NXtGs2Jp2+1NQSeJIV2QNesgQlxAIl/ i31VlxZEhwln91LmyEr/yhUUBfdGLPDQOk4tXaaouwOdU0svko5fE1KHr5yjjqTVzy0Z sICavsL/83UaIHsd/afHRE4Bv2yjTIUa9/PR0= MIME-Version: 1.0 Received: by 10.43.44.72 with SMTP id uf8mr988695icb.149.1302068496016; Tue, 05 Apr 2011 22:41:36 -0700 (PDT) Received: by 10.42.174.7 with HTTP; Tue, 5 Apr 2011 22:41:35 -0700 (PDT) Date: Wed, 6 Apr 2011 13:41:35 +0800 Message-ID: Subject: Compaction threshold does not save with nodetool From: Sheng Chen To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=bcaec52999ad2da6de04a03972f8 X-Virus-Checked: Checked by ClamAV on apache.org --bcaec52999ad2da6de04a03972f8 Content-Type: text/plain; charset=ISO-8859-1 Cassandra 0.7.4 # nodetool -h localhost getcompactionthreshold Keyspace1 Standard1 min=4 max=32 # nodetool -h localhost setcompactionthreshold Keyspace1 Standard1 0 0 # nodetool -h localhost getcompactionthreshold Keyspace1 Standard1 min=0 max=0 Now the thresholds have changed on the JMX pannel, but in the cassandra-cli `show keyspaces`, it is still 4/32. After I restart cassandra, threshold by nodetool shows 4/32 again. The setting is lost. I tried to use nodetool flush to save the change but it doesn't work. --bcaec52999ad2da6de04a03972f8 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Cassandra 0.7.4

# nodetool -h localhost getco= mpactionthreshold Keyspace1 Standard1
min=3D4 max=3D32
= # nodetool -h localhost setcompactionthreshold Keyspace1 Standard1 0 0
# nodetool -h localhost getcompactionthreshold Keyspace1 Standard1
min=3D0 max=3D0

Now the thresholds=A0have c= hanged on the JMX pannel, but in the cassandra-cli `show keyspaces`, it is = still =A04/32.
After I restart cassandra, threshold by nodetool shows 4/32 again. The= setting is lost.
I tried to use nodetool flush to save the chang= e but it doesn't work.

--bcaec52999ad2da6de04a03972f8--