SHDP-180 Fix project warnings

- fix warnings
- suppress deprecates because we still need hadoop 1.x
- removed some dead code