You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Sonny Heer <so...@gmail.com> on 2010/04/08 22:06:11 UTC

Cassandra .6 map/reduce

Running the word_count example the hadoop job appears to be run internally.

If I have a Cassandra cluster of 10 nodes, how does the Hadoop cluster
get configured?

Re: Cassandra .6 map/reduce

Posted by Sonny Heer <so...@gmail.com>.
Where is it configured in the word_count example?

On Thu, Apr 8, 2010 at 1:29 PM, Stu Hood <st...@rackspace.com> wrote:
> Code that uses Hadoop will look for mapred-site.xml, core-site.xml, hdfs-site.xml etc on your CLASSPATH. If you add your Hadoop config directory to CLASSPATH before running the script, Hadoop will use that configuration to connect to your cluster.
>
> -----Original Message-----
> From: "Sonny Heer" <so...@gmail.com>
> Sent: Thursday, April 8, 2010 3:06pm
> To: cassandra-user@incubator.apache.org
> Subject: Cassandra .6 map/reduce
>
> Running the word_count example the hadoop job appears to be run internally.
>
> If I have a Cassandra cluster of 10 nodes, how does the Hadoop cluster
> get configured?
>
>
>

RE: Cassandra .6 map/reduce

Posted by Stu Hood <st...@rackspace.com>.
Code that uses Hadoop will look for mapred-site.xml, core-site.xml, hdfs-site.xml etc on your CLASSPATH. If you add your Hadoop config directory to CLASSPATH before running the script, Hadoop will use that configuration to connect to your cluster.

-----Original Message-----
From: "Sonny Heer" <so...@gmail.com>
Sent: Thursday, April 8, 2010 3:06pm
To: cassandra-user@incubator.apache.org
Subject: Cassandra .6 map/reduce

Running the word_count example the hadoop job appears to be run internally.

If I have a Cassandra cluster of 10 nodes, how does the Hadoop cluster
get configured?