[
https://issues.apache.org/jira/browse/CASSANDRA-7200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14061138#comment-14061138
]
Ala' Alkhaldi commented on CASSANDRA-7200:
------------------------------------------
{quote}
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.
{quote}
The import changes applies only to the trunk version not the 2.0-HEAD
As peer our discussion. I attached two files; 7200_v4_trunk has the trunk
changes that include: solution to the compilation problem in cql3 word count,
sleep fixes, log fix, and README addition.
7200_v4_2.0-HEAD has the 2.0-HEAD changes that include: sleep fixes, log fix,
and README addition.
> 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: Ala' Alkhaldi
> Fix For: 2.0.10
>
> Attachments: 7200_v1.txt, 7200_v2.txt, 7200_v3.txt,
> 7200_v4_2.0-HEAD.txt, 7200_v4_trunk.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)