[
https://issues.apache.org/jira/browse/CASSANDRA-7200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14044072#comment-14044072
]
Ala' Alkhaldi commented on CASSANDRA-7200:
------------------------------------------
For the hadoop_cql3_word_count example:
word_count_setup is verified to work against the trunk . I could not reproduce
the problem.
The world_count also works correctly and produce the expected results. Running
word_count_counters after it generates the expected counts
cql3_worldcount.output_words.
The IOException above is a [known Hadoop
issue|https://issues.apache.org/jira/browse/HADOOP-2851] that's marked as won't
fix, and it can be safely ignored. it just logs an exception to the debug log,
despite no exception actually being thrown. When the log level is set to any
value other that DEBUG, the exception disappears.
the hadoop_word_count fails to build. Are we still interested in shipping it
with Cassandra?
Also, all of the examples shipped with Cassandra do not work on Windows. Are we
interested in supporting Windows examples?
> 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.9
>
>
> 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)