fix various lint errors in hadoop module