Generalize hadoop versions that trigger the "yarn" profile