This got borked by the WHIRR-189 patch - I missed this modernization.
Switches back to how this was done before I borked things.
Confirmed that I was able to spin up a functioning CDH YARN cluster and a functioning CDH HBase cluster on EC2 after this patch (combined with WHIRR-640 to make sure there was enough RAM in the first place).
This patch doesn't apply to trunk or 0.8 - it looks like it's already there from the WHIRR-189 commit. Did you attach the wrong patch?
Whoops, you're right - here's the right one.
That looks better. +1
Committed to trunk and branch-0.8.