Friday, 1 February 2013

What are the restriction to the key and value class ? | Hadoop Interview Questions

The key and value classes have to be serialized by the framework. To make them serializable Hadoop provides a Writable interface. As you know from the java itself that the key of the Map should be comparable, hence the key has to implement one more interface WritableComparable.

No comments: