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 22E251028A for ; Sun, 28 Apr 2013 18:06:58 +0000 (UTC) Received: (qmail 97084 invoked by uid 500); 28 Apr 2013 18:06:55 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 97065 invoked by uid 500); 28 Apr 2013 18:06:55 -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 97057 invoked by uid 99); 28 Apr 2013 18:06:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Apr 2013 18:06:55 +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-a45.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Apr 2013 18:06:48 +0000 Received: from homiemail-a45.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a45.g.dreamhost.com (Postfix) with ESMTP id AA2FD480C3 for ; Sun, 28 Apr 2013 11:06:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thelastpickle.com; h=from :content-type:message-id:mime-version:subject:date:references:to :in-reply-to; s=thelastpickle.com; bh=6zbVwFLPkCHy9vmXy2U1Keo05r g=; b=Ans5cUSu4AC1+K6oufUeAMcfL07d4C7GNpvPTWNh7F4KMrE64BXSTK3kE5 ZTthVbh0Si1u++6CHdgX+/8vtfW+mwriy9Lk+P6mJyLPDOZIfdMRFd/bb6k3VGNW 4avbFk1meySifN35O8UMEDUx6Vs1ClNxQi1CtoSY6b7yo1bCg= Received: from [172.16.1.8] (unknown [203.86.207.101]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: aaron@thelastpickle.com) by homiemail-a45.g.dreamhost.com (Postfix) with ESMTPSA id 24A9348094 for ; Sun, 28 Apr 2013 11:06:26 -0700 (PDT) From: aaron morton Content-Type: multipart/alternative; boundary="Apple-Mail=_13F0FA6B-98B6-4AAF-821D-B7E881CCDCE6" Message-Id: <8EC1ABA8-9136-4289-AE49-9C3B752E1D7C@thelastpickle.com> Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Subject: Re: Many creation/inserts in parallel Date: Mon, 29 Apr 2013 06:06:26 +1200 References: To: user@cassandra.apache.org In-Reply-To: X-Mailer: Apple Mail (2.1503) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail=_13F0FA6B-98B6-4AAF-821D-B7E881CCDCE6 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 > At first many CF are being created in parallel (about 1000 CF). >=20 >=20 Can you explain this in a bit more detail ? By in parallel do you mean = multiple threads creating CF's at the same time ? I would also recommend taking a second look at your data model, you = probably do not want to create so many CF's.=20 > During tests we're receiving some exceptions from driver, e.g.: >=20 >=20 The CF you are trying to read / write from does not exist. Check if the = table exists using cqlsh / cassandra-cli.=20 Check your code to make sure it was created.=20 Cheers ----------------- Aaron Morton Freelance Cassandra Consultant New Zealand @aaronmorton http://www.thelastpickle.com On 26/04/2013, at 10:49 PM, Sasha Yanushkevich = wrote: > Hi All >=20 > We are testing Cassandra 1.2.3 (3 nodes with RF:2) with = FluentCassandra driver. At first many CF are being created in parallel = (about 1000 CF). After creation is done follows many insertions of = little amount of data into the DB. During tests we're receiving some = exceptions from driver, e.g.: >=20 > FluentCassandra.Operations.CassandraOperationException: unconfigured = columnfamily table_78_9 > and > FluentCassandra.Operations.CassandraOperationException: Connection to = Cassandra has timed out >=20 > Though in Cassandra's logs there are no exceptions. >=20 > What should we do to handle these exceptions? >=20 > --=20 > Best regards, > Alexander --Apple-Mail=_13F0FA6B-98B6-4AAF-821D-B7E881CCDCE6 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1

At first many CF are being cr= eated in parallel (about 1000 CF).


Can you explain this in a bit more detail ? By in = parallel do you mean multiple threads creating CF's at the same time = ?

I would also recommend taking a second look at your = data model, you probably do not want to create so many = CF's. 

 During tests we're receiving some=  exceptions from driver, e.g.:


The CF you are trying to read / write from does = not exist. Check if the table exists using cqlsh / = cassandra-cli. 

Check your code to make = sure it was = created. 

Cheers

http://www.thelastpickle.com

On 26/04/2013, at 10:49 PM, Sasha Yanushkevich <yanush51@gmail.com> = wrote:

Hi = All

We are testing Cassandra 1.2.3 (3&n= bsp;nodes with RF:2) with FluentCassandra driver.=  At first many CF are being created&nbs= p;in parallel (about 1000 CF). After creatio= n is done follows many insertions of li= ttle amount of data into the DB. During=  tests we're receiving some exceptions from&= nbsp;driver, e.g.:

FluentCassandra.Operations.CassandraOperatio= nException: unconfigured columnfamily table_78_9
and
= FluentCassandra.Operations.CassandraOperationException: Connection&nb= sp;to Cassandra has timed out

Though in&nbs= p;Cassandra's logs there are no exceptions.

What should we do to handle these exce= ptions?

--
Best regards,
Alexander

= --Apple-Mail=_13F0FA6B-98B6-4AAF-821D-B7E881CCDCE6--