making cloudera patch work with hadoop1.0 profile