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 A1897E6FD for ; Wed, 2 Jan 2013 19:55:27 +0000 (UTC) Received: (qmail 71292 invoked by uid 500); 2 Jan 2013 19:55:25 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 71267 invoked by uid 500); 2 Jan 2013 19:55:25 -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 71256 invoked by uid 99); 2 Jan 2013 19:55:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jan 2013 19:55:25 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of synfinatic@gmail.com designates 209.85.214.178 as permitted sender) Received: from [209.85.214.178] (HELO mail-ob0-f178.google.com) (209.85.214.178) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jan 2013 19:55:19 +0000 Received: by mail-ob0-f178.google.com with SMTP id eh20so13080585obb.37 for ; Wed, 02 Jan 2013 11:54:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=+jFDl5V8B+eE7QX7u2QkRXQNXyiWLUvBfgQRT/D5Atk=; b=E2gLWMf/K3TeiTBCq5PBARukuQN7Q5xbuyyDp6gmBD4ehedWlVI8wvopf2CgpTc/SJ Aiaveb0R1VEixlelFsICA5n2730/JCPcGDIYOi8UPiGk9j/JMJLLb4XnGX5A+YJm8QWc sDJXtZ35SaEPHN+VNkXfoQ4bZcUufmFpJiaimKugmQl8S+ERsQAkJn8zUCL91Z9CiFwK wfzVbhgG7u6Mlit0pQGNTKNhmo9WoFEAmL9NMKG9Tt/Czpfk7FPz+2yO1RLTzIzpXayQ ig0p2A44UFMBPzH02r3QnMybLYAjfvxyvpaopaTZXknluUXN3XEwo8nGpbZcOO5OjHVC HepA== Received: by 10.182.177.7 with SMTP id cm7mr35871293obc.75.1357156498645; Wed, 02 Jan 2013 11:54:58 -0800 (PST) MIME-Version: 1.0 Received: by 10.60.170.36 with HTTP; Wed, 2 Jan 2013 11:54:38 -0800 (PST) In-Reply-To: References: From: Aaron Turner Date: Wed, 2 Jan 2013 11:54:38 -0800 Message-ID: Subject: Re: Force data to a specific node To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org You'd have to use the ordered partitioner or something like that and choose your row key according to the node you want it placed. But that's in general a really bad idea because you end up with unbalanced nodes and hot spots. That said, are your nodes on a LAN? I have my 9+3 node cluster (two datacenters) on 100Mbps ports (which everyone says not to do) and it's working just fine. Even node rebuilds haven't been that bad so far. If you're trying to avoid WAN replication, then use a dedicated cluster. On Wed, Jan 2, 2013 at 10:20 AM, Everton Lima wro= te: > We need to do this to minimize the network I/O. We have our own load data > balance algorithm. We have some data that is best to process in a local > machine. > Is it possible? How? > > > 2013/1/2 Edward Sargisson >> >> Why would you want to? >> >> ________________________________ >> From: Everton Lima >> To: Cassandra-User >> Sent: Wed Jan 02 18:03:49 2013 >> Subject: Force data to a specific node >> >> It is possible to force a data to stay in a specific node? >> >> -- >> Everton Lima Aleixo >> Bacharel em Ci=EAncia da Computa=E7=E3o pela UFG >> Mestrando em Ci=EAncia da Computa=E7=E3o pela UFG >> Programador no LUPA >> > > > > -- > Everton Lima Aleixo > Bacharel em Ci=EAncia da Computa=E7=E3o pela UFG > Mestrando em Ci=EAncia da Computa=E7=E3o pela UFG > Programador no LUPA > --=20 Aaron Turner http://synfin.net/ Twitter: @synfinatic http://tcpreplay.synfin.net/ - Pcap editing and replay tools for Unix & Win= dows Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin "carpe diem quam minimum credula postero"