[ 
https://issues.apache.org/jira/browse/CASSANDRA-7200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14059064#comment-14059064
 ] 

Brandon Williams commented on CASSANDRA-7200:
---------------------------------------------

It looks like your IDE did some strange things with the imports, and I'm not 
sure why the toByteBuffer() line was added to WordCount since it won't compile 
with it, but maybe that's just artifacts from patch against 2.0.0 and a rebase 
will solve it.

cql3 word count looks good, can we add similar logic about the sleep to word 
count (and rebase aganst 2.0 head)?

> word count broken
> -----------------
>
>                 Key: CASSANDRA-7200
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7200
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Examples
>            Reporter: Brandon Williams
>            Assignee: Brandon Williams
>             Fix For: 2.0.10
>
>         Attachments: 7200_v1.txt, 7200_v2.txt, 7200_v3.txt
>
>
> word_count_setup hangs forever, and word_count loops forever with this 
> exception:
> {noformat}
> DEBUG 17:52:42,875 java.io.IOException: config(config)
>         at org.apache.hadoop.conf.Configuration.<init>(Configuration.java:260)
>         at org.apache.hadoop.mapred.JobConf.<init>(JobConf.java:341)
>         at org.apache.hadoop.mapreduce.JobContext.<init>(JobContext.java:76)
>         at 
> org.apache.hadoop.mapreduce.TaskAttemptContext.<init>(TaskAttemptContext.java:35)
>         at 
> org.apache.hadoop.mapreduce.TaskInputOutputContext.<init>(TaskInputOutputContext.java:44)
>         at org.apache.hadoop.mapreduce.MapContext.<init>(MapContext.java:43)
>         at org.apache.hadoop.mapreduce.Mapper$Context.<init>(Mapper.java:105)
>         at sun.reflect.GeneratedConstructorAccessor14.newInstance(Unknown 
> Source)
>         at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
>         at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:759)
>         at org.apache.hadoop.mapred.MapTask.run(MapTask.java:370)
>         at 
> org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:212)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to