Below are the two necessities for serialization in Hadoop.
- In Hadoop cluster, data is stored in only binary stream format but object structured data can’t be stored directly hadoop data nodes.
- Only Binary stream data can be transferred across data nodes in hadoop cluster. So, Serialization is needed to convert the object structured data into binary stream format.