make hadoop-compat compatible to hadoop yarn and ...

... remove org.apache.hadoop code.

If you accept this pull request, my change will appear in your pull request on the main repo.