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 13C0CC84E for ; Wed, 6 Jun 2012 03:07:38 +0000 (UTC) Received: (qmail 24155 invoked by uid 500); 6 Jun 2012 03:07:35 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 24105 invoked by uid 500); 6 Jun 2012 03:07:34 -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 24075 invoked by uid 99); 6 Jun 2012 03:07:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jun 2012 03:07:33 +0000 X-ASF-Spam-Status: No, hits=0.9 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of Prakrati.Agrawal@mu-sigma.com does not designate 216.82.242.115 as permitted sender) Received: from [216.82.242.115] (HELO mail132.messagelabs.com) (216.82.242.115) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jun 2012 03:07:26 +0000 X-Env-Sender: Prakrati.Agrawal@mu-sigma.com X-Msg-Ref: server-12.tower-132.messagelabs.com!1338952024!13772542!1 X-Originating-IP: [216.166.12.180] X-StarScan-Version: 6.5.10; banners=-,-,- X-VirusChecked: Checked Received: (qmail 4926 invoked from network); 6 Jun 2012 03:07:04 -0000 Received: from out001.collaborationhost.net (HELO out001.collaborationhost.net) (216.166.12.180) by server-12.tower-132.messagelabs.com with RC4-SHA encrypted SMTP; 6 Jun 2012 03:07:04 -0000 Received: from AUSP01VMBX11.collaborationhost.net ([10.2.8.165]) by AUSP01MHUB05.collaborationhost.net ([10.2.8.172]) with mapi; Tue, 5 Jun 2012 22:07:04 -0500 From: Prakrati Agrawal To: "user@cassandra.apache.org" Date: Tue, 5 Jun 2012 22:05:21 -0500 Subject: RE: How to include two nodes in Java code using Hector Thread-Topic: How to include two nodes in Java code using Hector Thread-Index: Ac1DBzy7rLp2iuFZRkCo3yytNYE+PQADlplAAB7aafA= Message-ID: <7073291669E5764EB68B5914AC4204744E05054635@AUSP01VMBX11.collaborationhost.net> References: <7073291669E5764EB68B5914AC4204744E04FDDADD@AUSP01VMBX11.collaborationhost.net> <78F1FC431BE9D541889013927D32B07F06E42020@MMT-SRV-XDB2.mmt.com> In-Reply-To: <78F1FC431BE9D541889013927D32B07F06E42020@MMT-SRV-XDB2.mmt.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_7073291669E5764EB68B5914AC4204744E05054635AUSP01VMBX11c_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_7073291669E5764EB68B5914AC4204744E05054635AUSP01VMBX11c_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable But the data is distributed on the nodes ( meaning 50% of data is on one no= de and 50% of data is on another node) so I need to specify the node ip add= ress somewhere in the code. But where do I specify that is what I am cluele= ss about. Please help me Prakrati Agrawal | Developer - Big Data(I&D)| 9731648376 | www.mu-sigma.com From: Harshvardhan Ojha [mailto:Harshvardhan.Ojha@makemytrip.com] Sent: Tuesday, June 05, 2012 5:51 PM To: user@cassandra.apache.org Subject: RE: How to include two nodes in Java code using Hector Use Consistency Level =3D2. Regards Harsh From: Prakrati Agrawal [mailto:Prakrati.Agrawal@mu-sigma.com] Sent: Tuesday, June 05, 2012 4:08 PM To: user@cassandra.apache.org Subject: How to include two nodes in Java code using Hector Dear all I am using a two node Cassandra cluster. How do I code in Java using Hector= to get data from both the nodes. Please help Thanks and Regards Prakrati Agrawal | Developer - Big Data(I&D)| 9731648376 | www.mu-sigma.com= ________________________________ This email message may contain proprietary, private and confidential inform= ation. The information transmitted is intended only for the person(s) or en= tities to which it is addressed. Any review, retransmission, dissemination = or other use of, or taking of any action in reliance upon, this information= by persons or entities other than the intended recipient is prohibited and= may be illegal. If you received this in error, please contact the sender a= nd delete the message from your system. Mu Sigma takes all reasonable steps to ensure that its electronic communica= tions are free from viruses. However, given Internet accessibility, the Com= pany cannot accept liability for any virus introduced by this e-mail or any= attachment and you are advised to use up-to-date virus checking software. ________________________________ This email message may contain proprietary, private and confidential inform= ation. The information transmitted is intended only for the person(s) or en= tities to which it is addressed. Any review, retransmission, dissemination = or other use of, or taking of any action in reliance upon, this information= by persons or entities other than the intended recipient is prohibited and= may be illegal. If you received this in error, please contact the sender a= nd delete the message from your system. Mu Sigma takes all reasonable steps to ensure that its electronic communica= tions are free from viruses. However, given Internet accessibility, the Com= pany cannot accept liability for any virus introduced by this e-mail or any= attachment and you are advised to use up-to-date virus checking software. --_000_7073291669E5764EB68B5914AC4204744E05054635AUSP01VMBX11c_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

But the data is distri= buted on the nodes ( meaning 50% of data is on one node and 50% of data is = on another node) so I need to specify the node ip address somewhere in the = code. But where do I specify that is what I am clueless about. Please help me

 

Prakrati Agrawal | Dev= eloper - Big Data(I&D)| 9731648376 | www.mu-sigma.com

 

From: Harshvar= dhan Ojha [mailto:Harshvardhan.Ojha@makemytrip.com]
Sent: Tuesday, June 05, 2012 5:51 PM
To: user@cassandra.apache.org
Subject: RE: How to include two nodes in Java code using Hector=

 

Use Consistency Level = =3D2.

 

Regards

Harsh

 

From: Prakrati= Agrawal [mailto:Prakrati.Agrawal@mu-sigma.com]
Sent: Tuesday, June 05, 2012 4:08 PM
To: user@cassandra.apache.org
Subject: How to include two nodes in Java code using Hector

 

Dear all

 

I am using a two node Cassandra cluster. How do I co= de in Java using Hector to get data from both the nodes. Please help

 

Thanks and Regards

 

Prakrati Agrawal | Developer - Big Data(I&D)| 97= 31648376 | www.mu-sigma.com

 

 


This email message may contain proprietary, private and confide= ntial information. The information transmitted is intended only for the per= son(s) or entities to which it is addressed. Any review, retransmission, dissemination or other = use of, or taking of any action in reliance upon, this information by perso= ns or entities other than the intended recipient is prohibited and may be i= llegal. If you received this in error, please contact the sender and delete the message from your system.<= br>
Mu Sigma takes all reasonable steps to ensure that its electronic communica= tions are free from viruses. However, given Internet accessibility, the Com= pany cannot accept liability for any virus introduced by this e-mail or any= attachment and you are advised to use up-to-date virus checking software.



This email message may conta= in proprietary, private and confidential information. The information trans= mitted is intended only for the person(s) or entities to which it is addres= sed. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this informatio= n by persons or entities other than the intended recipient is prohibited an= d may be illegal. If you received this in error, please contact the sender = and delete the message from your system.

Mu Sigma takes all reasonable steps to ensure that its electronic communica= tions are free from viruses. However, given Internet accessibility, the Com= pany cannot accept liability for any virus introduced by this e-mail or any= attachment and you are advised to use up-to-date virus checking software.
--_000_7073291669E5764EB68B5914AC4204744E05054635AUSP01VMBX11c_--