one point one four
1. Hadoop serialization summary:
- Serialization is the process of turning objects in memory into binary sequences. The purpose is to convert volatile objects into permanently saved disk files or network transmission. Deserialization is the process of reading objects from binary sequences.
- For complex composite data, you can customize the bean to realize its serialization. You need to implement the two methods write and readfields of the writable interface. Wirte is to write an object into a sack, and readfields is to take out data from the sack and assign it to an empty object.