added support for rpm-based hadoop installations