Return-Path: X-Original-To: apmail-cassandra-dev-archive@www.apache.org Delivered-To: apmail-cassandra-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 07BE610D3F for ; Fri, 23 Aug 2013 00:03:36 +0000 (UTC) Received: (qmail 32579 invoked by uid 500); 23 Aug 2013 00:03:35 -0000 Delivered-To: apmail-cassandra-dev-archive@cassandra.apache.org Received: (qmail 32554 invoked by uid 500); 23 Aug 2013 00:03:34 -0000 Mailing-List: contact dev-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list dev@cassandra.apache.org Received: (qmail 32546 invoked by uid 99); 23 Aug 2013 00:03:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Aug 2013 00:03:34 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of nipuni880917@gmail.com designates 74.125.82.51 as permitted sender) Received: from [74.125.82.51] (HELO mail-wg0-f51.google.com) (74.125.82.51) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Aug 2013 00:03:28 +0000 Received: by mail-wg0-f51.google.com with SMTP id a12so2187791wgh.18 for ; Thu, 22 Aug 2013 17:03:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=kfbgOZyfGWMnr6X8rhUAQdPGJy5/sIi0QNr0UzyclKc=; b=OYn11YR3IpFHmUOaxO3YU6czK6ECrSGt4NXV36bWoLkNPAPWPObn2Xc5UzMtLvkVDD PdYLuyduXB+jDmOiAvAh8OzcDwhmZ4l/4OhIDMqc+upsoqduWMCWrfVumjcYKDNP6u5V n5lMmM/0b8bl0MzndoVzyF9+HmszQLuDraUXgr6dbKmFrTg0uYH8UWQHNG8APucqhTdH JeEyTczmWCxJ4zDTuCWsnnrE1oV9J+mtGFwUxu+KAQypN1g+v7FRHwVQ/mzLo9TEOGAK gjW5BK6XFwH4SopMqI/OoX5V+/PZY0mJ9Atw/SxTvkKgsItimGBDQNHbGV/uHS1qTDNP WsAA== MIME-Version: 1.0 X-Received: by 10.194.24.168 with SMTP id v8mr12599388wjf.28.1377216188361; Thu, 22 Aug 2013 17:03:08 -0700 (PDT) Received: by 10.216.20.65 with HTTP; Thu, 22 Aug 2013 17:03:08 -0700 (PDT) In-Reply-To: <6D7F922D-3C45-4B96-AED0-A847D03D1AD8@datastax.com> References: <6D7F922D-3C45-4B96-AED0-A847D03D1AD8@datastax.com> Date: Fri, 23 Aug 2013 05:33:08 +0530 Message-ID: Subject: Re: Cassandra project set up error From: Nipuni Piyabasi Perera To: dev@cassandra.apache.org Content-Type: multipart/alternative; boundary=047d7b86daaaafafab04e4922169 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b86daaaafafab04e4922169 Content-Type: text/plain; charset=ISO-8859-1 Hi, I could build via generating eclipse files without adding any external jars. But the error was due to class path to cassandra.yaml file. It worked when added "file:" at the beginning of the path name. Now I am getting the following error. ERROR 00:00:09 Fatal exception during initialization org.apache.cassandra.exceptions.ConfigurationException: Saved cluster name MyClusterName != configured name Test Cluster Thanks, Nipuni On Thu, Aug 22, 2013 at 7:39 PM, J.B. Langston wrote: > I have found the easiest way to get Cassandra to build under IDEA is to > use ant to generate the eclipse project files (see > http://wiki.apache.org/cassandra/RunningCassandraInEclipse) and then > import those into IDEA. Setting it up in IDEA directly is an error-prone > manual process with way too many steps, and some of the instructions refer > to things that have moved or changed names in the latest version of IDEA. > > On Aug 22, 2013, at 6:00 AM, Nipuni Piyabasi Perera < > nipuni880917@gmail.com> wrote: > > > I can't find "storage-conf.xml" file. If "cassandra.yaml" is used > instead, > > how should I set the configuration?. > > > > Thanks, > > Nipuni > > > > > > On Thu, Aug 22, 2013 at 2:05 PM, Nipuni Piyabasi Perera < > > nipuni880917@gmail.com> wrote: > > > >> Hi, > >> > >> I am trying build Cassandra as an Idea project. following guide [1]. But > >> when creating the RUN configuration. I have to add several dependencies > >> externally (hadoop, pig). > >> But still there is an error in the class. > >> > >> org.apache.cassandra.hadoop.AbstractColumnFamilyRecordWriter > >> > >> error is : > >> > >> org.apache.hadoop.mapreduce.RecordWriter' clashes with 'write(K, V)' in > >> 'org.apache.hadoop.mapred.RecordWriter'; overridden method does not > throw > >> 'java.lang.InterruptedException' > >> > >> Even with the error I could run the application, which then it gives a > >> configuration error as follows: > >> > >> ERROR 08:28:04 Fatal configuration error > >> org.apache.cassandra.exceptions.ConfigurationException: Cannot locate > >> > /home/nipuni/Desktop/Cassendra/Cassendra_code/cassandra-trunk/conf/cassandra.yaml > >> > >> Is there any other documentation to set up Cassandra. > >> > >> [1] http://wiki.apache.org/cassandra/RunningCassandraInIDEA > >> > >> > >> Thanks, > >> Nipuni > >> -- > >> Nipuni Piyabasi Perera > >> Undergraduate > >> Department of Computer Science And Engineering > >> University of Moratuwa > >> Sri Lanka > >> > > > > > > > > -- > > Nipuni Piyabasi Perera > > Undergraduate > > Department of Computer Science And Engineering > > University of Moratuwa > > Sri Lanka > > -- Nipuni Piyabasi Perera Undergraduate Department of Computer Science And Engineering University of Moratuwa Sri Lanka --047d7b86daaaafafab04e4922169--