change dependencies to new hadoop api