Integrate hadoop build with top level build.