1.

What Are The Restriction To The Key And Value Class ?

Answer»

he 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 Writable Comparable.

he 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 Writable Comparable.



Discussion

No Comment Found