MapReduce "cannot be resolved to a type" error

0 votes

I am getting an error in my map reduce program:

IntWritable cannot be resolved to a type, LongWritable cannot beresolved to a type 
Configuration cannot be resolved to a type, Job cannot be resolved to a type, etc. 

Please let me know what could be the possible error?

Dec 18, 2018 in Big Data Hadoop by digger
• 26,550 points
154 views

1 answer to this question.

0 votes

One of the reasons could be different serialized datatypes used in generic mapper/reducer output key/values and actual mapper/reducer output key/values. Hard to tell without looking at the code. Please share the code so that we can know the exact reason.

answered Dec 18, 2018 by Omkar
• 67,600 points

Related Questions In Big Data Hadoop

0 votes
1 answer

How to create a FileSystem object that can be used for reading from and writing to HDFS?

Read operation on HDFS In order to read ...READ MORE

answered Mar 21, 2018 in Big Data Hadoop by nitinrawat895
• 10,690 points

edited Mar 21, 2018 by nitinrawat895 335 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,690 points
3,092 views
0 votes
1 answer

hadoop.mapred vs hadoop.mapreduce?

org.apache.hadoop.mapred is the Old API  org.apache.hadoop.mapreduce is the ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,690 points
348 views
0 votes
10 answers

hadoop fs -put command?

put syntax: put <localSrc> <dest> copy syntax: copyFr ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Aditya
15,175 views
0 votes
1 answer

Hadoop dfs -ls command?

In your case there is no difference ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by kurt_cobain
• 9,260 points
1,128 views
–1 vote
1 answer

Pig code in Eclipse shows error :LongWritable cannot be resolved to a type

To rectify this errors, you need to ...READ MORE

answered Jan 2 in Big Data Hadoop by Omkar
• 67,600 points
89 views
0 votes
1 answer

Not able to run mapreduce job. Attempt failes error

The most common reason for this is ...READ MORE

answered Nov 22, 2018 in Big Data Hadoop by Omkar
• 67,600 points
50 views