Quantcast
Channel: Simplilearn Community
Viewing all articles
Browse latest Browse all 50081

Type Mismatch while using addInputPath() of MultipleInput class

$
0
0
I have defined 2 mappers for processing 2 files seperately.

Ouput of first mapper- <IntWritable,CustomObject>
Output of second mapper- <IntWritable, Text>

In the driver code I am adding both mappers using addInputPath() of MultipleInput class.

While running the jar I am getting Type mismatch of error.

16/04/24 18:40:28 INFO mapreduce.Job: Task Id : attempt_1461435780053_0008_m_000001_0, Status : FAILED
Error: java.io.IOException: Type mismatch in value from map: expected...

Type Mismatch while using addInputPath() of MultipleInput class

Viewing all articles
Browse latest Browse all 50081

Trending Articles