Add hadoop dependency

make it private better?