fix error with old hadoop-client libraries