add depedencies
change to new hadoop api