FAQ
Hi,

I'm new to hadoop. I was going through the steps on standalone operation
under API docs where I encountered the below error.

06/09/15 10:42:12 INFO conf.Configuration: parsing file:/opt/hadoop-0.6.0
/conf/hadoop-site.xml
06/09/15 10:42:12 INFO mapred.MapTask: opened part-0.out
06/09/15 10:42:12 WARN mapred.LocalJobRunner: job_cjfbkn
java.io.IOException: wrong value class: dfs.block.size is not class
org.apache.hadoop.io.UTF8
at org.apache.hadoop.io.SequenceFile$Writer.append(SequenceFile.java
:533)
at org.apache.hadoop.mapred.MapTask$2.collect(MapTask.java:162)
at org.apache.hadoop.mapred.lib.InverseMapper.map(InverseMapper.java
:37)
at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:46)
at org.apache.hadoop.mapred.MapTask.run(MapTask.java:210)
at org.apache.hadoop.mapred.LocalJobRunner$Job.run(
LocalJobRunner.java:106)
java.io.IOException: Job failed!
at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:363)
at org.apache.hadoop.examples.Grep.main(Grep.java:82)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(
ProgramDriver.java:69)
at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java
:141)
at org.apache.hadoop.examples.ExampleDriver.main(ExampleDriver.java
:41)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.hadoop.util.RunJar.main(RunJar.java:137)

Can somebody point me in the right direction?

Thanks
Ron

Search Discussions

  • Doug Cutting at Sep 15, 2006 at 4:40 am
    This sounds like:

    http://issues.apache.org/jira/browse/HADOOP-534

    A patch should be committed to trunk tomorrow, and a point release will
    be made shortly thereafter. In the meantime, you could experiment with
    the 0.5.0 release.

    Doug

    Aaron Wong wrote:
    Hi,

    I'm new to hadoop. I was going through the steps on standalone operation
    under API docs where I encountered the below error.

    06/09/15 10:42:12 INFO conf.Configuration: parsing file:/opt/hadoop-0.6.0
    /conf/hadoop-site.xml
    06/09/15 10:42:12 INFO mapred.MapTask: opened part-0.out
    06/09/15 10:42:12 WARN mapred.LocalJobRunner: job_cjfbkn
    java.io.IOException: wrong value class: dfs.block.size is not class
    org.apache.hadoop.io.UTF8
    at org.apache.hadoop.io.SequenceFile$Writer.append(SequenceFile.java
    :533)
    at org.apache.hadoop.mapred.MapTask$2.collect(MapTask.java:162)
    at org.apache.hadoop.mapred.lib.InverseMapper.map(InverseMapper.java
    :37)
    at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:46)
    at org.apache.hadoop.mapred.MapTask.run(MapTask.java:210)
    at org.apache.hadoop.mapred.LocalJobRunner$Job.run(
    LocalJobRunner.java:106)
    java.io.IOException: Job failed!
    at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:363)
    at org.apache.hadoop.examples.Grep.main(Grep.java:82)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(
    NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
    DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(
    ProgramDriver.java:69)
    at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java
    :141)
    at org.apache.hadoop.examples.ExampleDriver.main(ExampleDriver.java
    :41)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(
    NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
    DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.hadoop.util.RunJar.main(RunJar.java:137)

    Can somebody point me in the right direction?

    Thanks
    Ron

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-user @
categorieshadoop
postedSep 15, '06 at 2:08a
activeSep 15, '06 at 4:40a
posts2
users2
websitehadoop.apache.org...
irc#hadoop

2 users in discussion

Doug Cutting: 1 post Aaron Wong: 1 post

People

Translate

site design / logo © 2022 Grokbase