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 899379252 for ; Tue, 5 Jun 2012 09:37:32 +0000 (UTC) Received: (qmail 43118 invoked by uid 500); 5 Jun 2012 09:37:30 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 43092 invoked by uid 500); 5 Jun 2012 09:37:29 -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 43035 invoked by uid 99); 5 Jun 2012 09:37:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jun 2012 09:37:28 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of marshadsaleem@tataelxsi.co.in designates 65.55.88.11 as permitted sender) Received: from [65.55.88.11] (HELO tx2outboundpool.messaging.microsoft.com) (65.55.88.11) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jun 2012 09:37:21 +0000 Received: from mail26-tx2-R.bigfish.com (10.9.14.237) by TX2EHSOBE009.bigfish.com (10.9.40.29) with Microsoft SMTP Server id 14.1.225.23; Tue, 5 Jun 2012 09:36:18 +0000 Received: from mail26-tx2 (localhost [127.0.0.1]) by mail26-tx2-R.bigfish.com (Postfix) with ESMTP id A895F4A0410 for ; Tue, 5 Jun 2012 09:36:17 +0000 (UTC) X-Forefront-Antispam-Report: CIP:111.221.116.181;KIP:(null);UIP:(null);IPV:NLI;H:SIXPRD0410HT003.apcprd04.prod.outlook.com;RD:none;EFVD:NLI X-SpamScore: -6 X-BigFish: PS-6(zz9371Ic85dh14e3Mzz1202hzz8275bh8275dhz2fh2a8h668h839hd25hf0ah) Received-SPF: pass (mail26-tx2: domain of tataelxsi.co.in designates 111.221.116.181 as permitted sender) client-ip=111.221.116.181; envelope-from=marshadsaleem@tataelxsi.co.in; helo=SIXPRD0410HT003.apcprd04.prod.outlook.com ;.outlook.com ; Received: from mail26-tx2 (localhost.localdomain [127.0.0.1]) by mail26-tx2 (MessageSwitch) id 1338888975612438_20015; Tue, 5 Jun 2012 09:36:15 +0000 (UTC) Received: from TX2EHSMHS005.bigfish.com (unknown [10.9.14.236]) by mail26-tx2.bigfish.com (Postfix) with ESMTP id 9231D2A0048 for ; Tue, 5 Jun 2012 09:36:15 +0000 (UTC) Received: from SIXPRD0410HT003.apcprd04.prod.outlook.com (111.221.116.181) by TX2EHSMHS005.bigfish.com (10.9.99.105) with Microsoft SMTP Server (TLS) id 14.1.225.23; Tue, 5 Jun 2012 09:36:15 +0000 Received: from SIXPRD0410MB358.apcprd04.prod.outlook.com ([169.254.1.213]) by SIXPRD0410HT003.apcprd04.prod.outlook.com ([10.255.23.166]) with mapi id 14.16.0164.004; Tue, 5 Jun 2012 09:36:49 +0000 From: MOHD ARSHAD SALEEM To: "user@cassandra.apache.org" Subject: RE: How to configure the Cassandra connection using Hector Thread-Topic: How to configure the Cassandra connection using Hector Thread-Index: Ac1C/QibQsVTsBV0RJapQRoelVfWQgAAIAKAAAAOMvAAADJE9A== Date: Tue, 5 Jun 2012 09:36:48 +0000 Message-ID: References: <7073291669E5764EB68B5914AC4204744E04FDDA28@AUSP01VMBX11.collaborationhost.net> <78F1FC431BE9D541889013927D32B07F06E41CF1@MMT-SRV-XDB2.mmt.com>,<7073291669E5764EB68B5914AC4204744E04FDDA36@AUSP01VMBX11.collaborationhost.net> In-Reply-To: <7073291669E5764EB68B5914AC4204744E04FDDA36@AUSP01VMBX11.collaborationhost.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [59.160.207.20] Content-Type: multipart/alternative; boundary="_000_A6B669C7F1A5E24E86309ADDDC970C200DD293BBSIXPRD0410MB358_" MIME-Version: 1.0 X-OriginatorOrg: tataelxsi.co.in X-Virus-Checked: Checked by ClamAV on apache.org --_000_A6B669C7F1A5E24E86309ADDDC970C200DD293BBSIXPRD0410MB358_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable In the following line give cluster =3D HFactory.getCluster("Test Cluster",ip:9160); ip =3Dip address of your machine and respective port no. Regards Arshad ________________________________ From: Prakrati Agrawal [Prakrati.Agrawal@mu-sigma.com] Sent: Tuesday, June 05, 2012 3:00 PM To: user@cassandra.apache.org Subject: RE: How to configure the Cassandra connection using Hector cluster =3D HFactory.getCluster("Test Cluster"); keySpace =3D HFactory.createKeyspace("mstream", cluster); These are the lines that I am executing and getting an error 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 2:59 PM To: user@cassandra.apache.org Subject: RE: How to configure the Cassandra connection using Hector Check if you have rightly provided your cluster name. Regards Harsh From: Prakrati Agrawal [mailto:Prakrati.Agrawal@mu-sigma.com] Sent: Tuesday, June 05, 2012 2:55 PM To: user@cassandra.apache.org Subject: How to configure the Cassandra connection using Hector Dear all, I am writing a java code using Hector but when I am configuring the already= created key space using HFactory.createKeySpace its giving me the error Nu= ll Point Exception. What am I doing wrong. Please help me. 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_A6B669C7F1A5E24E86309ADDDC970C200DD293BBSIXPRD0410MB358_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
In the following line give

cluster =3D HFactory.getCluster("Te= st Cluster",ip:9160);
ip =3Dip address of your machine and respective port no.

Regards
Arshad

From: Prakrati Agrawal [Prakrati.Agrawal@= mu-sigma.com]
Sent: Tuesday, June 05, 2012 3:00 PM
To: user@cassandra.apache.org
Subject: RE: How to configure the Cassandra connection using Hector<= br>

cluster =3D HFactory.ge= tCluster("Test Cluster");

keySpace =3D HFactory.createKeyspa= ce("mstream", cluster);

 

These are the lines that I am executing and getting an e= rror

 

Prakrati Ag= rawal | Developer - Big Data(I&D)| 9731648376 | www.mu-sigma.com

 

From: Hars= hvardhan Ojha [mailto:Harshvardhan.Ojha@makemytrip.com]
Sent: Tuesday, June 05, 2012 2:59 PM
To: user@cassandra.apache.org
Subject: RE: How to configure the Cassandra connection using Hector<= /span>

 

Check if yo= u have rightly provided your cluster name.

 

Regards

Harsh

 

From: Prak= rati Agrawal [mailto:Prakrati.Agrawal@mu-sigma.com]
Sent: Tuesday, June 05, 2012 2:55 PM
To: user@cassandra.apache.org
Subject: How to configure the Cassandra connection using Hector

 

Dear all,

 

I am writing a java code using Hector but when I am = configuring the already created key space using HFactory.createKeySpace its= giving me the error Null Point Exception. What am I doing wrong. Please he= lp me.

 

Thanks and Regards

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

 

 


This email message may con= tain proprietary, private and confidential information. The information tra= nsmitted is intended only for the person(s) or entities to which it is addressed. Any review, retransmission, dissemination or oth= er use of, or taking of any action in reliance upon, this information by pe= rsons or entities other than the intended recipient is prohibited and may b= e illegal. If you received this in error, please contact the sender and delete the message from your syste= m.

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_A6B669C7F1A5E24E86309ADDDC970C200DD293BBSIXPRD0410MB358_--