Hadoop Professionals

A Community for Hadoop Users

  • Blog Posts
  • Discussions (2)
  • Events
  • Groups
  • Photos
  • Photo Albums

Zhiqiang Ma's Discussions

Type mismatch error
2 Replies

Hi All, I am a beginner of Hadoop. I modified the Inverted Index Code in Yahoo's Tutorial  (http://developer.yahoo.com/hado but I always get errors of "java.io.IOException: Type mismatch in key from…

Tagged: LongWritable, missmatch, type

Started this discussion. Last reply by Zhiqiang Ma Feb 8.

 

Zhiqiang Ma's Page

Gifts Received

Gift

Zhiqiang Ma has not received any gifts yet

Give Zhiqiang Ma a Gift

Latest Activity

I figured out the problem already. Thanks
February 7
Unless you explicitly set it, you will get TextInputFormat for your inputformat, the keys are LongWritable. If you want a text key text writable, job.setInputFormat(KeyValueTextInputFormat.class) in your main. or change the key that your mapper t…
February 7
Zhiqiang Ma added a discussion
Hi All, I am a beginner of Hadoop. I modified the Inverted Index Code in Yahoo's Tutorial  (http://developer.yahoo.com/hadoop/tutorial/module4.html#solution), but I always get errors of "java.io.IOException: Type mismatch in key from map: expected…
February 4
Zhiqiang Ma is now a member of Hadoop Professionals
February 4

Profile Information

Hadoop Experience Level
Novice
Search Expertise
Novice
HBase Expertise
Novice
Machine Learning Expertise
Intermediate

Comment Wall

You need to be a member of Hadoop Professionals to add comments!

Join Hadoop Professionals

  • No comments yet!
 
 
 

Groups

© 2010   Created by Jason Venner.   Powered by .

Badges  |  Report an Issue  |  Terms of Service

Sign in to chat!