Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 77998 invoked from network); 16 Jan 2011 04:05:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Jan 2011 04:05:11 -0000 Received: (qmail 2886 invoked by uid 500); 16 Jan 2011 04:05:10 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 2741 invoked by uid 500); 16 Jan 2011 04:05:08 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 2732 invoked by uid 99); 16 Jan 2011 04:05:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Jan 2011 04:05:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Jan 2011 04:05:06 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p0G44k3G014048 for ; Sun, 16 Jan 2011 04:04:46 GMT Message-ID: <13561492.390831295150686463.JavaMail.jira@thor> Date: Sat, 15 Jan 2011 23:04:46 -0500 (EST) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Subject: [jira] Updated: (CASSANDRA-1993) Word count example doesn't output the words correctly to cassandra. It outputs spurious data past the length of the byte array. In-Reply-To: <6787450.390011295141926339.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-1993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis updated CASSANDRA-1993: -------------------------------------- Component/s: (was: Hadoop) Contrib Fix Version/s: 0.7.1 Assignee: Jonathan Ellis Remaining Estimate: 1h (was: 0.08h) Original Estimate: 1h (was: 0.08h) > 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: Contrib > Affects Versions: 0.7.0 > Environment: All > Reporter: Jesse Shieh > Assignee: Jonathan Ellis > Priority: Minor > Fix For: 0.7.1 > > Attachments: 1993-v2.txt, trunk-1993.txt > > Original Estimate: 1h > Remaining Estimate: 1h > > 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.