Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CBC176E1A for ; Sun, 31 Jul 2011 21:26:45 +0000 (UTC) Received: (qmail 17742 invoked by uid 500); 31 Jul 2011 21:26:43 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 17674 invoked by uid 500); 31 Jul 2011 21:26:42 -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 17666 invoked by uid 99); 31 Jul 2011 21:26:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 31 Jul 2011 21:26:42 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [208.113.200.5] (HELO homiemail-a52.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 31 Jul 2011 21:26:36 +0000 Received: from homiemail-a52.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a52.g.dreamhost.com (Postfix) with ESMTP id A70996B824B for ; Sun, 31 Jul 2011 14:26:14 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=thelastpickle.com; h=content-type :mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; q=dns; s= thelastpickle.com; b=uo+unbLVDQs3+EHh9gWGRsyrhCmZDQtWT3VEaGCnYOp mEe0G2fONLXx8zeP9STPKG47vy/rL2/363x15UiUKVXxws+3nFH51nD+6ON/DvMK Mz09Kp1o2bK+qZpSxZmz35xhTPHoHhOlk8BeeNuNP7PaqT2pfUWEeu+R+P4V0Ye4 = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thelastpickle.com; h= content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; s= thelastpickle.com; bh=8YjeO9DMuMH2N6h0PjP0aEaagZM=; b=t2gP4x9STu mgjgfphRmDTRJIV3GLUDw0CdFB4kyuLxgao7GWM9Ia3tIZfyAmgrtggefQCS308s SGFPSOfg8ykdUx4G2p2eK4BVF7f8IW97c59wM5hQ/BrQUr3sqWdw5PtLULpvK55w 158R81aDA+eyZ/0FXhzx2dPOqvpRRYsNE= Received: from [202.126.206.38] (unknown [202.126.206.38]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: aaron@thelastpickle.com) by homiemail-a52.g.dreamhost.com (Postfix) with ESMTPSA id 5471B6B822C for ; Sun, 31 Jul 2011 14:26:14 -0700 (PDT) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Apple Message framework v1244.3) Subject: Re: Could I run node repair when disable gossip and thrift? From: aaron morton In-Reply-To: Date: Mon, 1 Aug 2011 09:26:12 +1200 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: user@cassandra.apache.org X-Mailer: Apple Mail (2.1244.3) if you disable gossip the node will appear down to others. This would = stop the repair starting. After repair has started it *may* still cause = problems when new streams start (it probably does not). If the node is = down other nodes will stop sending writes to it.=20 disable thrift will stop clients sending writes to the node. If you disable thrift you are doing the opposite of repair. You are = asking a node to repair it's data so it's in sync with other nodes, at = the same time you are preventing it from accepting writes and staying = in sync with other nodes. So you are creating more repair work for the = node.=20 Will will be increasing the amount of Read Repair, Hinted Handoff and = Repair work the node must do. IMHO it's not a good idea.=20 Cheers ----------------- Aaron Morton Freelance Cassandra Developer @aaronmorton http://www.thelastpickle.com On 1 Aug 2011, at 06:09, Yan Chunlu wrote: > I am running 3 nodes and RF=3D3, cassandra v0.7.4 > seems when disablegossip and disablethrift could keep node in pretty = low load. sometimes when the node repair doing "rebuilding sstable", I = would disable gossip and thrift to lower the load. not sure if I could = disable them in the whole procedure. thanks!