You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Markus Mock <ma...@gmail.com> on 2011/06/30 12:09:46 UTC
word_count example in Cassandra 0.8.0
Hello,
I am running into the following problem: I am running a single node
cassandra setup (out of the box so to speak) and was trying out the code
in apache-cassandra-0.8.0-src/examples/hadoop_word_count.
The bin/word_count_setup seems to work fine as cassandra-cli reports that
there are 1000 rows when I do
list input_words limit 2000;
(after connecting via connect 127.0.01/9160 and use wordcount;)
However, after running bin/word_count it seems the reducer is not writing
into cassandra as list output_words returns 0 rows.
When setting the output reducer to filesystem I get results in
/tmp/word_count0 /tmp/word_count1 etc .
Has anybody observed the same problem and has an idea what might be wrong?
Thanks.
-- Markus
Re: word_count example in Cassandra 0.8.0
Posted by Jonathan Ellis <jb...@gmail.com>.
fixed in 0.8.1. https://issues.apache.org/jira/browse/CASSANDRA-2727
On Thu, Jun 30, 2011 at 3:09 AM, Markus Mock <ma...@gmail.com> wrote:
> Hello,
> I am running into the following problem: I am running a single node
> cassandra setup (out of the box so to speak) and was trying out the code
> in apache-cassandra-0.8.0-src/examples/hadoop_word_count.
> The bin/word_count_setup seems to work fine as cassandra-cli reports that
> there are 1000 rows when I do
> list input_words limit 2000;
> (after connecting via connect 127.0.01/9160 and use wordcount;)
> However, after running bin/word_count it seems the reducer is not writing
> into cassandra as list output_words returns 0 rows.
> When setting the output reducer to filesystem I get results in
> /tmp/word_count0 /tmp/word_count1 etc .
> Has anybody observed the same problem and has an idea what might be wrong?
> Thanks.
> -- Markus
>
--
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.com