Step 1 : login as pi user and install prerequisite packages

step 2 : build protobuf 2.5.0

step 3 : download and build hadoop 2.7.6

references

Hadoop and Spark Installation on Raspberry Pi-3 Cluster – Part-1