make hadoop-compat compatible to hadoop yarn and remove org.apache.hadoop code