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 0C3DA9939 for ; Sun, 26 Feb 2012 19:25:35 +0000 (UTC) Received: (qmail 23954 invoked by uid 500); 26 Feb 2012 19:25:32 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 23929 invoked by uid 500); 26 Feb 2012 19:25:32 -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 23921 invoked by uid 99); 26 Feb 2012 19:25:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Feb 2012 19:25:32 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [208.113.200.5] (HELO homiemail-a59.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Feb 2012 19:25:24 +0000 Received: from homiemail-a59.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a59.g.dreamhost.com (Postfix) with ESMTP id A4FDB564061 for ; Sun, 26 Feb 2012 11:24:57 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=thelastpickle.com; h=from :mime-version:content-type:subject:date:in-reply-to:to :references:message-id; q=dns; s=thelastpickle.com; b=bUaNPEDD/d 0yIBId0ooO3MN5cRZf0cY3VGZ7kgm0hzGYTtNUKrsSy7wV65zL4YhpW2JFnC05Nq fLxu4AmUzelF18iK6QeCTXV3yrRBxbrdOuvn1eSC9LyZ4m6bmEvQ1hBXojIydK3O 9sN50ZTMJ8AFAnckOCeBGB+aEHDcfIqqY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thelastpickle.com; h=from :mime-version:content-type:subject:date:in-reply-to:to :references:message-id; s=thelastpickle.com; bh=VzncUJrlKdQUwYNg HUU2X9fbdqs=; b=S5b4U6pI8M0upYlEmrGCe0P4fsBGpOzow+zQd+A4BgTCg1D9 /DPq4CBKvjY5FgPSrAmmBwinWKiJhTupvOO04lfN6IJuriUqb/51KSweIOinbrpt OOYFmdSJ1PZMYRLK6JmkhmFLiI6dMxy9ZDcByJs/+7ITTheOQblIJJo7sPc= Received: from [172.16.1.3] (125-236-193-159.adsl.xtra.co.nz [125.236.193.159]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: aaron@thelastpickle.com) by homiemail-a59.g.dreamhost.com (Postfix) with ESMTPSA id 0860056405C for ; Sun, 26 Feb 2012 11:24:56 -0800 (PST) From: aaron morton Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: multipart/alternative; boundary="Apple-Mail=_A8AAEA6D-0D4F-427A-B63C-3120799229B5" Subject: Re: unidirectional communication/replication Date: Mon, 27 Feb 2012 08:24:53 +1300 In-Reply-To: To: user@cassandra.apache.org References: Message-Id: <6E11FA4D-3186-42F0-A3AF-CEF35EAC2B96@thelastpickle.com> X-Mailer: Apple Mail (2.1257) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail=_A8AAEA6D-0D4F-427A-B63C-3120799229B5 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 All nodes in the cluster need two way communication. Nodes need to talk = to Gossip to each other so they know they are alive.=20 If you need to dump a lot of data consider the Hadoop integration. = http://wiki.apache.org/cassandra/HadoopSupport It can run a bit faster = than going through the thrift api. Copying sstables may be another option depending on the data size.=20 Cheers ----------------- Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 25/02/2012, at 3:21 AM, Alexandru Sicoe wrote: > Hello everyone, >=20 > I'm battling with this contraint that I have: I need to regularly ship = out timeseries data from a Cassandra cluster that sits within an = enclosed network, outside of the network.=20 >=20 > I tried to select all the data within a certian time window, writing = to a file, and then copying the file out but this hits the I/O = performance because even for a small time window (say 5mins) I am = hitting more than a million rows.=20 >=20 > It would really help if I used Cassandra to replicate the data = automatically outside. The problem is they will only allow me to have = outbound traffic out of the enclosed network (not inbound). Is there any = way to configure the cluster or have 2 data centers in such a way that = the data center (node or cluster) outside of the enclosed network only = gets a replica of the data, without ever needing to communicate anything = back? >=20 > I appreciate the help, > Alex --Apple-Mail=_A8AAEA6D-0D4F-427A-B63C-3120799229B5 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1 All = nodes in the cluster need two way communication. Nodes need to talk to = Gossip to each other so they know they are = alive. 

If you need to dump a lot of data = consider the Hadoop integration. http://wiki.apache= .org/cassandra/HadoopSupport It can run a bit faster than going = through the thrift api.

Copying sstables may be = another option depending on the data = size. 

Cheers
http://www.thelastpickle.com

On 25/02/2012, at 3:21 AM, Alexandru Sicoe wrote:

Hello = everyone,

I'm battling with this contraint that I have: I need to = regularly ship out timeseries data from a Cassandra cluster that sits = within an enclosed network, outside of the network.

I tried to = select all the data within a certian time window, writing to a file, and = then copying the file out but this hits the I/O performance because even = for a small time window (say 5mins) I am hitting more than a million = rows.

It would really help if I used Cassandra to replicate the data = automatically outside. The problem is they will only allow me to have = outbound traffic out of the enclosed network (not inbound). Is there any = way to configure the cluster or have 2 data centers in such a way that = the data center (node or cluster) outside of the enclosed network only = gets a replica of the data, without ever needing to communicate anything = back?

I appreciate the help,
Alex

= --Apple-Mail=_A8AAEA6D-0D4F-427A-B63C-3120799229B5--