cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benjamin Black...@b3k.us>
Subject Re: Iterate through entire data set
Date Thu, 08 Apr 2010 18:58:41 GMT
You are telling Windows to only listen on localhost, which is the
loopback, which is only accessible on the system itself, not from
external machines.

On Thu, Apr 8, 2010 at 11:56 AM, Sonny Heer <sonnyheer@gmail.com> wrote:
> Yeah I agree it's strange, Windows is just my local box, and I'm
> testing before setting up actual boxes :)
>
> the thrift address is 'localhost' on the windows box.
>
> On Thu, Apr 8, 2010 at 11:53 AM, Benjamin Black <b@b3k.us> wrote:
>> Strange setup, but, ok.  What is your <ThriftAddress> setting on the
>> Windows machine?
>>
>> On Thu, Apr 8, 2010 at 11:44 AM, Sonny Heer <sonnyheer@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.hood@rackspace.com> wrote:
>>>> Please read the README in the contrib/word_count directory.
>>>>
>>>> -----Original Message-----
>>>> From: "Sonny Heer" <sonnyheer@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 <jbellis@gmail.com>
wrote:
>>>>> Yes
>>>>>
>>>>> On Wed, Apr 7, 2010 at 5:01 PM, Sonny Heer <sonnyheer@gmail.com>
wrote:
>>>>>> These examples work on Cassandra .06 and Hadoop .20.2?
>>>>>>
>>>>>> On Wed, Apr 7, 2010 at 2:49 PM, Jonathan Ellis <jbellis@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 <sonnyheer@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?
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>
>

Mime
View raw message