Embedded devices such as RaspberryPI don't have enough power for running hadoop jobs. It is a really complex peace of software. Instead of trying to adapt it I decided to use more "lightweight" solution which is OpenMPI map-reduce. MPI was designed for distributed computations, so why not run map-reduce framework on it? Let's do it!