Re: Starting Cassandra Fauna

2010-04-14 Thread Nirmala Agadgar
Hi,

Can anyone please list steps to install and run cassandra in centos.
It can help me to follow and check where i missed and run correctly.
Also, if i wanted to insert some data programmatically, where i need to do
place the code in Fauna.Can anyone help me on this?

On Mon, Apr 12, 2010 at 10:36 PM, Ryan King r...@twitter.com wrote:

 I'm guessing you missed the ant ivy-retrieve step.

 We're planning on releasing a new gem today that should fix this issue.

 -ryan

 On Mon, Apr 12, 2010 at 3:30 AM, Nirmala Agadgar nirmala...@gmail.com
 wrote:
  Hi,
 
  Yes, used only master.
  i downloaded  the tar file and placed in cassandra folder and run again
  cassandra_helper cassandra
  now i am getting
  Error: Exception thrown by the agent : java.net.MalformedURLException:
 Local
  host name
  when set hostname to localhost or 127.0.0.1
   i get Exception in thread main java.lang.NoClassDefFoundError:
  org/apache/log4j/Logger
  at
 
 org.apache.cassandra.thrift.CassandraDaemon.clinit(CassandraDaemon.java:55)
  how to solve this?
  Can anyone tell steps to run cassandra or config to done?
 
  -
  Nirmala
 
 
  On Sat, Apr 10, 2010 at 10:48 PM, Jeff Hodges jhod...@twitter.com
 wrote:
 
  Did you try master? We fixed this around the 7th, but haven't made a
  release yet.
  --
  Jeff
 
  On Sat, Apr 10, 2010 at 10:10 AM, Nirmala Agadgar nirmala...@gmail.com
 
  wrote:
   Hi,
  
   I tried to dig in problem and found
   1) DIST_URL is pointed to
  
  
 http://apache.osuosl.org/incubator/cassandra/0.6.0/apache-cassandra-0.6.0-beta2-bin.tar.gz
   and it has no resource in it.( in Rakefile of  Cassandra Gem)
   DIST_URL =
  
   
 http://apache.osuosl.org/incubator/cassandra/0.6.0/apache-cassandra-0.6.0-beta2-bin.tar.gz
 
  
   2) It does not executes after
 sh tar xzf #{DIST_FILE}
  
   Can anyone help on this problem?
   Where the tar file should be downloaded?
  
  
   On Fri, Apr 9, 2010 at 3:28 AM, Jeff Hodges jhod...@twitter.com
 wrote:
  
   While I wasn't able to reproduce the error, we did have another pop
   up. I think I may have actually fixed your problem the other day.
 Pull
   the latest master from fauna/cassandra and you should be good to go.
   --
   Jeff
  
   On Thu, Apr 8, 2010 at 10:51 AM, Ryan King r...@twitter.com wrote:
Yeah, this is a known issue, we're working on it today.
   
-ryan
   
On Thu, Apr 8, 2010 at 10:31 AM, Jonathan Ellis jbel...@gmail.com
 
wrote:
Sounds like it's worth reporting on the github project then.
   
On Thu, Apr 8, 2010 at 11:53 AM, Paul Prescod pres...@gmail.com
wrote:
On Thu, Apr 8, 2010 at 9:49 AM, Jonathan Ellis 
 jbel...@gmail.com
wrote:
cassandra_helper does a bunch of magic to set things up.  looks
like
the extract a private copy of cassandra 0.6 beta2 part of the
magic
is failing.  you'll probably need to manually attempt the un-tar
to
figure out why it is bailing.
   
Yes, I had the same problem. I didn't dig into it, but perhaps
 all
users have this problem now.
   
 Paul Prescod
   
   
   
  
  
 
 



Re: Starting Cassandra Fauna

2010-04-14 Thread Nirmala Agadgar
Hi,

I want to insert data into Cassandra programmatically in a loop.
Also  i'm a newbie to Linux world and Github. Started to work on Linux  for
only reason to implement Cassandra.Digging Cassandra for last on week.How to
insert data in cassandra and test it?
Can anyone help me out on this?

-
Nimala


Re: Starting Cassandra Fauna

2010-04-14 Thread richard yao
try this
https://wiki.fourkitchens.com/display/PF/Using+Cassandra+with+PHP



On Thu, Apr 15, 2010 at 12:23 PM, Nirmala Agadgar nirmala...@gmail.comwrote:

 Hi,

 I want to insert data into Cassandra programmatically in a loop.
 Also  i'm a newbie to Linux world and Github. Started to work on Linux  for
 only reason to implement Cassandra.Digging Cassandra for last on week.How to
 insert data in cassandra and test it?
 Can anyone help me out on this?

 -
 Nimala



Re: Starting Cassandra Fauna

2010-04-14 Thread Paul Prescod
There is a tutorial here:

 * http://www.sodeso.nl/?p=80

This page includes data inserts:

 * http://www.sodeso.nl/?p=251

Like:

c.setColumn(new Column(email.getBytes(utf-8), ronald (at)
sodeso.nl.getBytes(utf-8), timestamp))
columns.add(c);

The Sample code is attached to that blog post.

On Wed, Apr 14, 2010 at 9:23 PM, Nirmala Agadgar nirmala...@gmail.com wrote:
 Hi,

 I want to insert data into Cassandra programmatically in a loop.
 Also  i'm a newbie to Linux world and Github. Started to work on Linux  for
 only reason to implement Cassandra.Digging Cassandra for last on week.How to
 insert data in cassandra and test it?
 Can anyone help me out on this?

 -
 Nimala



Re: Starting Cassandra Fauna

2010-04-14 Thread Nirmala Agadgar
Hi,

I'm  using ruby client as of now. Can u give details for ruby client.Also if
possible java client.
Thanks for reply.

-
Nirmala

On Thu, Apr 15, 2010 at 10:02 AM, richard yao richard.yao2...@gmail.comwrote:

 try this
 https://wiki.fourkitchens.com/display/PF/Using+Cassandra+with+PHP




 On Thu, Apr 15, 2010 at 12:23 PM, Nirmala Agadgar nirmala...@gmail.comwrote:

 Hi,

 I want to insert data into Cassandra programmatically in a loop.
 Also  i'm a newbie to Linux world and Github. Started to work on Linux
 for only reason to implement Cassandra.Digging Cassandra for last on
 week.How to insert data in cassandra and test it?
 Can anyone help me out on this?

 -
 Nimala





Re: Starting Cassandra Fauna

2010-04-12 Thread Nirmala Agadgar
Hi,

Yes, used only master.
i downloaded  the tar file and placed in cassandra folder and run again
cassandra_helper cassandra
now i am getting
Error: Exception thrown by the agent : java.net.MalformedURLException: Local
host name
when set hostname to localhost or 127.0.0.1
 i get Exception in thread main java.lang.NoClassDefFoundError:
org/apache/log4j/Logger
at
org.apache.cassandra.thrift.CassandraDaemon.clinit(CassandraDaemon.java:55)
how to solve this?
Can anyone tell steps to run cassandra or config to done?

-
Nirmala


On Sat, Apr 10, 2010 at 10:48 PM, Jeff Hodges jhod...@twitter.com wrote:

 Did you try master? We fixed this around the 7th, but haven't made a
 release yet.
 --
 Jeff

 On Sat, Apr 10, 2010 at 10:10 AM, Nirmala Agadgar nirmala...@gmail.com
 wrote:
  Hi,
 
  I tried to dig in problem and found
  1) DIST_URL is pointed to
 
 http://apache.osuosl.org/incubator/cassandra/0.6.0/apache-cassandra-0.6.0-beta2-bin.tar.gz
  and it has no resource in it.( in Rakefile of  Cassandra Gem)
  DIST_URL =
  
 http://apache.osuosl.org/incubator/cassandra/0.6.0/apache-cassandra-0.6.0-beta2-bin.tar.gz
 
 
  2) It does not executes after
sh tar xzf #{DIST_FILE}
 
  Can anyone help on this problem?
  Where the tar file should be downloaded?
 
 
  On Fri, Apr 9, 2010 at 3:28 AM, Jeff Hodges jhod...@twitter.com wrote:
 
  While I wasn't able to reproduce the error, we did have another pop
  up. I think I may have actually fixed your problem the other day. Pull
  the latest master from fauna/cassandra and you should be good to go.
  --
  Jeff
 
  On Thu, Apr 8, 2010 at 10:51 AM, Ryan King r...@twitter.com wrote:
   Yeah, this is a known issue, we're working on it today.
  
   -ryan
  
   On Thu, Apr 8, 2010 at 10:31 AM, Jonathan Ellis jbel...@gmail.com
   wrote:
   Sounds like it's worth reporting on the github project then.
  
   On Thu, Apr 8, 2010 at 11:53 AM, Paul Prescod pres...@gmail.com
   wrote:
   On Thu, Apr 8, 2010 at 9:49 AM, Jonathan Ellis jbel...@gmail.com
   wrote:
   cassandra_helper does a bunch of magic to set things up.  looks
 like
   the extract a private copy of cassandra 0.6 beta2 part of the
 magic
   is failing.  you'll probably need to manually attempt the un-tar to
   figure out why it is bailing.
  
   Yes, I had the same problem. I didn't dig into it, but perhaps all
   users have this problem now.
  
Paul Prescod
  
  
  
 
 



Re: Starting Cassandra Fauna

2010-04-12 Thread Ryan King
I'm guessing you missed the ant ivy-retrieve step.

We're planning on releasing a new gem today that should fix this issue.

-ryan

On Mon, Apr 12, 2010 at 3:30 AM, Nirmala Agadgar nirmala...@gmail.com wrote:
 Hi,

 Yes, used only master.
 i downloaded  the tar file and placed in cassandra folder and run again
 cassandra_helper cassandra
 now i am getting
 Error: Exception thrown by the agent : java.net.MalformedURLException: Local
 host name
 when set hostname to localhost or 127.0.0.1
  i get Exception in thread main java.lang.NoClassDefFoundError:
 org/apache/log4j/Logger
     at
 org.apache.cassandra.thrift.CassandraDaemon.clinit(CassandraDaemon.java:55)
 how to solve this?
 Can anyone tell steps to run cassandra or config to done?

 -
 Nirmala


 On Sat, Apr 10, 2010 at 10:48 PM, Jeff Hodges jhod...@twitter.com wrote:

 Did you try master? We fixed this around the 7th, but haven't made a
 release yet.
 --
 Jeff

 On Sat, Apr 10, 2010 at 10:10 AM, Nirmala Agadgar nirmala...@gmail.com
 wrote:
  Hi,
 
  I tried to dig in problem and found
  1) DIST_URL is pointed to
 
  http://apache.osuosl.org/incubator/cassandra/0.6.0/apache-cassandra-0.6.0-beta2-bin.tar.gz
  and it has no resource in it.( in Rakefile of  Cassandra Gem)
  DIST_URL =
 
  http://apache.osuosl.org/incubator/cassandra/0.6.0/apache-cassandra-0.6.0-beta2-bin.tar.gz;
 
  2) It does not executes after
    sh tar xzf #{DIST_FILE}
 
  Can anyone help on this problem?
  Where the tar file should be downloaded?
 
 
  On Fri, Apr 9, 2010 at 3:28 AM, Jeff Hodges jhod...@twitter.com wrote:
 
  While I wasn't able to reproduce the error, we did have another pop
  up. I think I may have actually fixed your problem the other day. Pull
  the latest master from fauna/cassandra and you should be good to go.
  --
  Jeff
 
  On Thu, Apr 8, 2010 at 10:51 AM, Ryan King r...@twitter.com wrote:
   Yeah, this is a known issue, we're working on it today.
  
   -ryan
  
   On Thu, Apr 8, 2010 at 10:31 AM, Jonathan Ellis jbel...@gmail.com
   wrote:
   Sounds like it's worth reporting on the github project then.
  
   On Thu, Apr 8, 2010 at 11:53 AM, Paul Prescod pres...@gmail.com
   wrote:
   On Thu, Apr 8, 2010 at 9:49 AM, Jonathan Ellis jbel...@gmail.com
   wrote:
   cassandra_helper does a bunch of magic to set things up.  looks
   like
   the extract a private copy of cassandra 0.6 beta2 part of the
   magic
   is failing.  you'll probably need to manually attempt the un-tar
   to
   figure out why it is bailing.
  
   Yes, I had the same problem. I didn't dig into it, but perhaps all
   users have this problem now.
  
    Paul Prescod
  
  
  
 
 




Re: Starting Cassandra Fauna

2010-04-10 Thread Nirmala Agadgar
Hi,

I tried to dig in problem and found
1) DIST_URL is pointed to
http://apache.osuosl.org/incubator/cassandra/0.6.0/apache-cassandra-0.6.0-beta2-bin.tar.gz
and it has no resource in it.( in Rakefile of  Cassandra Gem)
DIST_URL = 
http://apache.osuosl.org/incubator/cassandra/0.6.0/apache-cassandra-0.6.0-beta2-bin.tar.gz


2) It does not executes after
  sh tar xzf #{DIST_FILE}

Can anyone help on this problem?
Where the tar file should be downloaded?


On Fri, Apr 9, 2010 at 3:28 AM, Jeff Hodges jhod...@twitter.com wrote:

 While I wasn't able to reproduce the error, we did have another pop
 up. I think I may have actually fixed your problem the other day. Pull
 the latest master from fauna/cassandra and you should be good to go.
 --
 Jeff

 On Thu, Apr 8, 2010 at 10:51 AM, Ryan King r...@twitter.com wrote:
  Yeah, this is a known issue, we're working on it today.
 
  -ryan
 
  On Thu, Apr 8, 2010 at 10:31 AM, Jonathan Ellis jbel...@gmail.com
 wrote:
  Sounds like it's worth reporting on the github project then.
 
  On Thu, Apr 8, 2010 at 11:53 AM, Paul Prescod pres...@gmail.com
 wrote:
  On Thu, Apr 8, 2010 at 9:49 AM, Jonathan Ellis jbel...@gmail.com
 wrote:
  cassandra_helper does a bunch of magic to set things up.  looks like
  the extract a private copy of cassandra 0.6 beta2 part of the magic
  is failing.  you'll probably need to manually attempt the un-tar to
  figure out why it is bailing.
 
  Yes, I had the same problem. I didn't dig into it, but perhaps all
  users have this problem now.
 
   Paul Prescod
 
 
 



Re: Starting Cassandra Fauna

2010-04-10 Thread Jeff Hodges
Did you try master? We fixed this around the 7th, but haven't made a
release yet.
--
Jeff

On Sat, Apr 10, 2010 at 10:10 AM, Nirmala Agadgar nirmala...@gmail.com wrote:
 Hi,

 I tried to dig in problem and found
 1) DIST_URL is pointed to
 http://apache.osuosl.org/incubator/cassandra/0.6.0/apache-cassandra-0.6.0-beta2-bin.tar.gz
 and it has no resource in it.( in Rakefile of  Cassandra Gem)
 DIST_URL =
 http://apache.osuosl.org/incubator/cassandra/0.6.0/apache-cassandra-0.6.0-beta2-bin.tar.gz;

 2) It does not executes after
   sh tar xzf #{DIST_FILE}

 Can anyone help on this problem?
 Where the tar file should be downloaded?


 On Fri, Apr 9, 2010 at 3:28 AM, Jeff Hodges jhod...@twitter.com wrote:

 While I wasn't able to reproduce the error, we did have another pop
 up. I think I may have actually fixed your problem the other day. Pull
 the latest master from fauna/cassandra and you should be good to go.
 --
 Jeff

 On Thu, Apr 8, 2010 at 10:51 AM, Ryan King r...@twitter.com wrote:
  Yeah, this is a known issue, we're working on it today.
 
  -ryan
 
  On Thu, Apr 8, 2010 at 10:31 AM, Jonathan Ellis jbel...@gmail.com
  wrote:
  Sounds like it's worth reporting on the github project then.
 
  On Thu, Apr 8, 2010 at 11:53 AM, Paul Prescod pres...@gmail.com
  wrote:
  On Thu, Apr 8, 2010 at 9:49 AM, Jonathan Ellis jbel...@gmail.com
  wrote:
  cassandra_helper does a bunch of magic to set things up.  looks like
  the extract a private copy of cassandra 0.6 beta2 part of the magic
  is failing.  you'll probably need to manually attempt the un-tar to
  figure out why it is bailing.
 
  Yes, I had the same problem. I didn't dig into it, but perhaps all
  users have this problem now.
 
   Paul Prescod
 
 
 




Re: Starting Cassandra Fauna

2010-04-08 Thread Paul Prescod
On Thu, Apr 8, 2010 at 9:49 AM, Jonathan Ellis jbel...@gmail.com wrote:
 cassandra_helper does a bunch of magic to set things up.  looks like
 the extract a private copy of cassandra 0.6 beta2 part of the magic
 is failing.  you'll probably need to manually attempt the un-tar to
 figure out why it is bailing.

Yes, I had the same problem. I didn't dig into it, but perhaps all
users have this problem now.

 Paul Prescod


Re: Starting Cassandra Fauna

2010-04-08 Thread Jonathan Ellis
Sounds like it's worth reporting on the github project then.

On Thu, Apr 8, 2010 at 11:53 AM, Paul Prescod pres...@gmail.com wrote:
 On Thu, Apr 8, 2010 at 9:49 AM, Jonathan Ellis jbel...@gmail.com wrote:
 cassandra_helper does a bunch of magic to set things up.  looks like
 the extract a private copy of cassandra 0.6 beta2 part of the magic
 is failing.  you'll probably need to manually attempt the un-tar to
 figure out why it is bailing.

 Yes, I had the same problem. I didn't dig into it, but perhaps all
 users have this problem now.

  Paul Prescod



Re: Starting Cassandra Fauna

2010-04-08 Thread Ryan King
Yeah, this is a known issue, we're working on it today.

-ryan

On Thu, Apr 8, 2010 at 10:31 AM, Jonathan Ellis jbel...@gmail.com wrote:
 Sounds like it's worth reporting on the github project then.

 On Thu, Apr 8, 2010 at 11:53 AM, Paul Prescod pres...@gmail.com wrote:
 On Thu, Apr 8, 2010 at 9:49 AM, Jonathan Ellis jbel...@gmail.com wrote:
 cassandra_helper does a bunch of magic to set things up.  looks like
 the extract a private copy of cassandra 0.6 beta2 part of the magic
 is failing.  you'll probably need to manually attempt the un-tar to
 figure out why it is bailing.

 Yes, I had the same problem. I didn't dig into it, but perhaps all
 users have this problem now.

  Paul Prescod




Re: Starting Cassandra Fauna

2010-04-08 Thread Jeff Hodges
While I wasn't able to reproduce the error, we did have another pop
up. I think I may have actually fixed your problem the other day. Pull
the latest master from fauna/cassandra and you should be good to go.
--
Jeff

On Thu, Apr 8, 2010 at 10:51 AM, Ryan King r...@twitter.com wrote:
 Yeah, this is a known issue, we're working on it today.

 -ryan

 On Thu, Apr 8, 2010 at 10:31 AM, Jonathan Ellis jbel...@gmail.com wrote:
 Sounds like it's worth reporting on the github project then.

 On Thu, Apr 8, 2010 at 11:53 AM, Paul Prescod pres...@gmail.com wrote:
 On Thu, Apr 8, 2010 at 9:49 AM, Jonathan Ellis jbel...@gmail.com wrote:
 cassandra_helper does a bunch of magic to set things up.  looks like
 the extract a private copy of cassandra 0.6 beta2 part of the magic
 is failing.  you'll probably need to manually attempt the un-tar to
 figure out why it is bailing.

 Yes, I had the same problem. I didn't dig into it, but perhaps all
 users have this problem now.

  Paul Prescod