Are you actually trying to make the Ubuntu system another node in the
ring?  While the first node is only listening on localhost?  There's
your problem.

On Thu, Apr 8, 2010 at 11:44 AM, Sonny Heer <sonnyh...@gmail.com> wrote:
> I have two boxes.  One is a windows box running Cassandra .6, and the
> other is an ubuntu box from which I'm trying to run the word count
> program as in the readme.
>
> The windows box seed is set to 127.0.0.1, and listen address to localhost.
>
> The ubuntu box seed & listen is point to IP of the windows box.
>
> from contrib/word_count:
>
> ~/dev/cassandra-0.6.0-rc1/contrib/word_count$ ant
> Unable to locate tools.jar. Expected to find it in
> /usr/lib/jvm/java-6-openjdk/lib/tools.jar
> Buildfile: build.xml
>
> init:
>
> build:
>
> jar:
>      [jar] Building jar:
> /home/psheer/dev/cassandra-0.6.0-rc1/contrib/word_count/build/word_count.jar
>
> BUILD SUCCESSFUL
> Total time: 2 seconds
>
> =====================
>
> ~/dev/cassandra-0.6.0-rc1/contrib/word_count$ bin/word_count_setup
> 10/04/08 10:33:18 INFO config.DatabaseDescriptor: Auto DiskAccessMode
> determined to be standard
> 10/04/08 10:33:18 WARN config.DatabaseDescriptor: KeysCachedFraction
> is deprecated: use KeysCached instead.
> 10/04/08 10:33:18 WARN config.DatabaseDescriptor: KeysCachedFraction
> is deprecated: use KeysCached instead.
> 10/04/08 10:33:18 INFO service.StorageService: Starting up client gossip
> Exception in thread "main" java.net.BindException: Cannot assign
> requested address
>        at sun.nio.ch.Net.bind(Native Method)
>        at 
> sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:137)
>        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:77)
>        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:70)
>        at 
> org.apache.cassandra.net.MessagingService.listen(MessagingService.java:138)
>        at 
> org.apache.cassandra.service.StorageService.initClient(StorageService.java:289)
>        at WordCountSetup.main(Unknown Source)
>
>
> Sorry, I'm a bit new to this... help?
>
>
> On Wed, Apr 7, 2010 at 6:07 PM, Stu Hood <stu.h...@rackspace.com> wrote:
>> Please read the README in the contrib/word_count directory.
>>
>> -----Original Message-----
>> From: "Sonny Heer" <sonnyh...@gmail.com>
>> Sent: Wednesday, April 7, 2010 6:33pm
>> To: user@cassandra.apache.org
>> Subject: Re: Iterate through entire data set
>>
>> Jon,
>> I've got the word_count.jar and a Hadoop cluster.  How do you usually
>> run this sample?
>>
>>
>> On Wed, Apr 7, 2010 at 3:04 PM, Jonathan Ellis <jbel...@gmail.com> wrote:
>>> Yes
>>>
>>> On Wed, Apr 7, 2010 at 5:01 PM, Sonny Heer <sonnyh...@gmail.com> wrote:
>>>> These examples work on Cassandra .06 and Hadoop .20.2?
>>>>
>>>> On Wed, Apr 7, 2010 at 2:49 PM, Jonathan Ellis <jbel...@gmail.com> wrote:
>>>>> Look at the READMEs for contrib/word_count and contrib/pig.
>>>>>
>>>>> On Wed, Apr 7, 2010 at 4:47 PM, Sonny Heer <sonnyh...@gmail.com> wrote:
>>>>>> I need a way to process all of my data set.
>>>>>>
>>>>>> A way to process every keyspace, CF, row, column, and perform some
>>>>>> operation based on that mapped combination.
>>>>>>
>>>>>> The map bucket would collect down to column name.
>>>>>>
>>>>>> Is there a map/reduce program which shows how to go about doing this?
>>>>>>
>>>>>
>>>>
>>>
>>
>>
>>
>

Reply via email to