The output value in the map function is in most examples for hadoop
something like this:

public static class Map extends Mapper<LongWritable, Text, outputKey,
outputValue>

Normally outputValue is something like Text or IntWriteable.

I got a custom class with its own properties like

public class Dog {
   string name;
   Date birthday;
   double weight;
}

Now how would I accomplish the following map function:

public static class Map extends Mapper<LongWritable, Text, IntWritable, Dog>

?

Reply via email to