Hadoop Professionals

A Community for Hadoop Users

Zhiqiang Ma
  • 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'sTutorial (…Continue

Tags: LongWritable, missmatch, type

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

Gifts Received

Gift

Zhiqiang Ma has not received any gifts yet

Give a Gift

 

Zhiqiang Ma's Page

Latest Activity

Profile Icon
Zhiqiang Ma replied to Zhiqiang Ma's discussion 'Type mismatch error'
I figured out the problem already. Thanks
Feb 8, 2010
Profile Icon
Jason Venner replied to Zhiqiang Ma's discussion 'Type mismatch error'
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…
Feb 7, 2010
Profile Icon

Type mismatch error

Hi All,I am a beginner of Hadoop. I modified the Inverted Index Code in Yahoo'sTutorial (http://developer.yahoo.com/hadoop/tutorial/module4.html#solution), butI always get errors of "java.io.IOException: Type mismatch in key frommap: expected org.apache.hadoop.io.Text, recievedorg.apache.hadoop.io.LongWritable". Could some people tell me what iswrong in my code? Thanks a…See More
Discussion posted by Zhiqiang Ma Feb 4, 2010
Profile Icon
Zhiqiang Ma is now a member of Hadoop Professionals Feb 4, 2010

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

© 2012   Created by Jason Venner.

Badges  |  Report an Issue  |  Terms of Service