From user-return-18427-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Tue Jul 5 00:40:51 2011 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 20B3F6938 for ; Tue, 5 Jul 2011 00:40:51 +0000 (UTC) Received: (qmail 10072 invoked by uid 500); 5 Jul 2011 00:40:48 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 10002 invoked by uid 500); 5 Jul 2011 00:40:48 -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 9994 invoked by uid 99); 5 Jul 2011 00:40:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jul 2011 00:40:47 +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 (athena.apache.org: local policy) Received: from [208.113.200.5] (HELO homiemail-a81.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jul 2011 00:40:42 +0000 Received: from homiemail-a81.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a81.g.dreamhost.com (Postfix) with ESMTP id 0A006A8064 for ; Mon, 4 Jul 2011 17:40:21 -0700 (PDT) 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=XV7LbQKngF yQrEcj9AVqNbqYvpwtD8lCIX/ukC5CaBoQUDSJwQUacMq3/NhVLc55NK/BFQVy8D jmviLHCNWWoeL49trc8H+QM9b8fhGVWB74CrkD/n2IokZU36aHlO6usFLEe95U5p h6PaFEBhZKMtg1pgFJ+Fo2NsE+S+d9q0o= 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=AcRQk5FviC+Dgox/ vHCowFm8vSc=; b=bIMgUsYdwP9uRsvxBFb4XIYfuXKNs141lVAoYTLn1tWPB+Xy BVJi2N+RRunaZl3tlj1i8E7brpp1AZ9Z3e8nn+G4JuvFi69uzP4THgKKgli8ixFX /UZs6F0dX3vAMrezRd59M/60PhVtRLTg2Mvg6hHxGbl0WYGgdFJTaT+GeqU= Received: from [198.48.1.41] (198-48-1-41-dhcp.cafenet.co.nz [198.48.1.41]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: aaron@thelastpickle.com) by homiemail-a81.g.dreamhost.com (Postfix) with ESMTPSA id BED4BA805C for ; Mon, 4 Jul 2011 17:40:13 -0700 (PDT) From: aaron morton Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: multipart/alternative; boundary=Apple-Mail-8-806687068 Subject: Re: flushing issue Date: Tue, 5 Jul 2011 12:39:28 +1200 In-Reply-To: <557E5EDB02B4C8459878EF1EC723AD281E2E211B@mail1.impetus.co.in> To: user@cassandra.apache.org References: <557E5EDB02B4C8459878EF1EC723AD281E2E211B@mail1.impetus.co.in> Message-Id: <2B624554-0986-4ABD-B30E-1B4099CA6CD0@thelastpickle.com> X-Mailer: Apple Mail (2.1084) --Apple-Mail-8-806687068 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 When you say using CassandraServer do you mean an embedded cassandra = server ? What process did you use to add the Keyspaces ? Adding a KS via = the thrift API should take care of everything. The simple test is stop the server and the clients, start the server = again and see if the KS is defined by using nodetool cfstats.=20 Cheers=20 ----------------- Aaron Morton Freelance Cassandra Developer @aaronmorton http://www.thelastpickle.com On 4 Jul 2011, at 22:28, Vivek Mishra wrote: > Hi, > I know, I might be missing something here. > I am currently facing 1 issue. > =20 > I have 2 cassandra clients(1. Using CassandraServer 2. Using = Cassandra.Client) running connecting to same host. > =20 > I have created Keyspace K1, K2 using client1(e.g. CassandraServer), = but somehow those keyspaces are not available with Client2(e.g. = Cassandra.Client). > =20 > I have also tried by flusing StorageService.instance.ForceFlush to = tables. But that also didn=92t work. > =20 > =20 > =20 > Any help/Suggestion? > =20 >=20 >=20 > Register for Impetus Webinar on =91Leveraging the Cloud for your = Product Testing Needs=92 on June 22 (10:00am PT). Meet Impetus as a = sponsor for Hadoop Summit 2011 in Santa Clara, CA on June 29.=20 >=20 > Click http://www.impetus.com to know more. Follow us on = www.twitter.com/impetuscalling=20 >=20 >=20 > NOTE: This message may contain information that is confidential, = proprietary, privileged or otherwise protected by law. The message is = intended solely for the named addressee. If received in error, please = destroy and notify the sender. Any use of this email is prohibited when = received in error. Impetus does not represent, warrant and/or guarantee, = that the integrity of this communication has been maintained nor that = the communication is free of errors, virus, interception or = interference. --Apple-Mail-8-806687068 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 When you say using CassandraServer do you mean an = embedded cassandra server ? What process did you use to add the = Keyspaces ? Adding a KS via the thrift API should take care of = everything.

The simple test is stop the server and = the clients, start the server again and see if the KS is defined by = using nodetool = cfstats. 

Cheers 
http://www.thelastpickle.com

On 4 Jul 2011, at 22:28, Vivek Mishra wrote:

Hi,
I know, I might be missing = something here.
I am currently facing 1 issue.

 

I have 2 cassandra clients(1. = Using CassandraServer 2. Using Cassandra.Client) running connecting to = same host.

 

I = have created Keyspace K1, K2 using client1(e.g. CassandraServer), but = somehow those keyspaces are not available with Client2(e.g. = Cassandra.Client).

 

I = have also tried by flusing StorageService.instance.ForceFlush to tables. = But that also didn=92t work.

 

Any help/Suggestion?


Register for Impetus Webinar on =91Leveraging the Cloud = for your Product Testing Needs=92 on June 22 (10:00am PT). Meet Impetus = as a sponsor for Hadoop Summit 2011 in Santa Clara, CA on June 29. 

Click http://www.impetus.com to know more. Follow us = on www.twitter.com/impetuscalling 


NOTE: This = message may contain information that is confidential, proprietary, = privileged or otherwise protected by law. The message is intended solely = for the named addressee. If received in error, please destroy and notify = the sender. Any use of this email is prohibited when received in error. = Impetus does not represent, warrant and/or guarantee, that the integrity = of this communication has been maintained nor that the communication is = free of errors, virus, interception or = interference.


= --Apple-Mail-8-806687068--