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 1C2B2200CFE for ; Fri, 8 Sep 2017 12:29:07 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1A754160C54; Fri, 8 Sep 2017 10:29:07 +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 3CCEE1609DA for ; Fri, 8 Sep 2017 12:29:06 +0200 (CEST) Received: (qmail 77438 invoked by uid 500); 8 Sep 2017 10:29:04 -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 77428 invoked by uid 99); 8 Sep 2017 10:29:04 -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, 08 Sep 2017 10:29:04 +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 E454318FBA9 for ; Fri, 8 Sep 2017 10:29:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.48 X-Spam-Level: ** X-Spam-Status: No, score=2.48 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 yfoJbFnVnZAi for ; Fri, 8 Sep 2017 10:28:58 +0000 (UTC) Received: from mail-ua0-f169.google.com (mail-ua0-f169.google.com [209.85.217.169]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 94A9F5F570 for ; Fri, 8 Sep 2017 10:28:58 +0000 (UTC) Received: by mail-ua0-f169.google.com with SMTP id l24so3415305uaa.5 for ; Fri, 08 Sep 2017 03:28:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to; bh=KIoHbBCDoM/YovQ/AsiszJLqi67LSCpGGu1ZkJOhosE=; b=loy0IfvAj6+7Io+6PiepeJRve9HmFO3b6GOZxnRfAwQoGvQ7jxDpLbCeZ43cLIj908 68+4VSFlw/m5O1GxTEddcKFkmO80rtaZUclroi6P1o84L0eY0x6dltHunFbcqpJF8ueR lhJr0RB3Dsl3D11Y2IFbw0Crn9DLyZpKQpwICfY6S3mz8ww7ys8Mx5/HAuLQbJFPVFmw H56XUpVKlj4hANDi73hAk1PmNki2hw7aJf1kbCPbsbvFZqAp0nteYqHkOs+BL+9TudHt 27cJJsRiBw0kUX/ADUI5yuav/hZYrzO746r/EjJu2g/d51tNl0IvB9Bl+eIxIjIYSmNe HZbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to; bh=KIoHbBCDoM/YovQ/AsiszJLqi67LSCpGGu1ZkJOhosE=; b=dmrRde0GbdgT491zqaNUnl33zIF4eppjBSsnyfPRmX4kxdXmST4tVvM09Su2LnyTFd vpBplxxQUvW1jw0N9voIhcCVJBYYYzS/xbtylnFvf0J0ZUqo+kAxrRkp5QqsS+NVJOci pKeWrN5IechYm+TiDKY5U1n1wRKcPQ4ikY/kKrsTKzBoHFBdzedD3XP3zeQpBk/BlTPg SPv2/g8mmWvMSOMSOg8Z+1lghDOQKBi28gK/vbIVnbQfe/P98tQgCBQxvLKOQAg8iOzW eVT+4hE3KBwj0Ujvrgvf9h49jX/QHOegq8VVnsg9MXAaPEPqoU7n+hgBzfYO1Ypp/gdV taBQ== X-Gm-Message-State: AHPjjUgNRYMrcVuevcKi1TMTy4CWqpNVyijTkbO7v8iH59sfv+H7GXQX J97U6a8IFjpWDqyynYId4wLxLIsLg4Qw X-Google-Smtp-Source: ADKCNb5HheTQV0MdhmrIzEsdCHWbxleNdP5Nlj1KYamOK068Fnen02CnRkJ0sXXUnzZP7cyI7a/buXI/5NjukCbMuVY= X-Received: by 10.176.77.168 with SMTP id s40mr655524uag.81.1504866537904; Fri, 08 Sep 2017 03:28:57 -0700 (PDT) MIME-Version: 1.0 Sender: arvydas.jonusonis@gmail.com Received: by 10.176.92.39 with HTTP; Fri, 8 Sep 2017 03:28:57 -0700 (PDT) In-Reply-To: References: From: Indraja and Arvydas Jonusonis Date: Fri, 8 Sep 2017 12:28:57 +0200 X-Google-Sender-Auth: kemlhur-w_oFkux72N5Jsb7vcLo Message-ID: Subject: Re: Stop writes to a cassandra node for maintenance purpose & enable them after some time To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary="f40304378fc86d270b0558ab0bbb" archived-at: Fri, 08 Sep 2017 10:29:07 -0000 --f40304378fc86d270b0558ab0bbb Content-Type: text/plain; charset="UTF-8" Keep in mind that hints will accumulate for this node across the cluster for *max_hint_window_in_ms* (default: 3hrs) On Fri, Sep 8, 2017 at 8:20 AM, Jeff Jirsa wrote: > nodetool disablebinary (will make the node down for native cql clients, > stopping client apps from writing directly over tcp/9042) > nodetool disablethrift (will make the node down for thrift clients, > stopping client apps from writing directly over tcp/9160) > nodetool disablegossip (will make the node appear down to other nodes in > the ring, stopping writes from the internode messaging protocols) > > > > On Thu, Sep 7, 2017 at 10:32 PM, Akshit Jain > wrote: > >> Hi, >> I want to stop writes to a cassandra node for some time and then start >> them.Is there any way to do that? >> Regards >> >> > --f40304378fc86d270b0558ab0bbb Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Keep in mind that hints will accumulate for this node acro= ss the cluster for max_hint_window_in_ms (default: 3hrs)

On Fri, Sep 8, 2017 at 8:= 20 AM, Jeff Jirsa <jjirsa@gmail.com> wrote:
nodetool disablebinary= (will make the node down for native cql clients, stopping client apps from= writing directly over tcp/9042)
nodetool disablethrift (will make the = node down for thrift clients, stopping client apps from writing directly ov= er tcp/9160)
nodetool disablegossip (will make the node appear do= wn to other nodes in the ring, stopping writes from the internode messaging= protocols)



On Thu, Sep 7, 2017 at 10:32 PM, Akshit Jain <akshit131= 24@iiitd.ac.in> wrote:
Hi,
I want to stop writes to a cassandra node for some time and then start= them.Is there any way to do that?
Regards

<= /div>


--f40304378fc86d270b0558ab0bbb--