[
https://issues.apache.org/jira/browse/CASSANDRA-1993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jesse Shieh updated CASSANDRA-1993:
-----------------------------------
Attachment: trunk-1993.txt
> Word count example doesn't output the words correctly to cassandra. It
> outputs spurious data past the length of the byte array.
> --------------------------------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-1993
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1993
> Project: Cassandra
> Issue Type: Bug
> Components: Hadoop
> Affects Versions: 0.7.0
> Environment: All
> Reporter: Jesse Shieh
> Priority: Minor
> Attachments: trunk-1993.txt
>
> Original Estimate: 0.08h
> Remaining Estimate: 0.08h
>
> To reproduce:
> # start a local cassandra server e.g. sudo bin/cassandra -f
> cd contrib/word_count
> ant
> bin/word_count_setup
> bin/word_count
> # check the data in cassandra, all looks fine because the words are all of
> the same length.
> # change the data in cassandra to real words, rerun the mapreduce and you'll
> see some words have spurious characters written past their length
> # this is because the word bytes are not terminated at their length
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.