Another alternative is to create a new profile - hadoop2+hbase-95. We must make sure that only one of hadoop-1,hadoop-2 and hadoop2-hbase-95 is active at any point. Right now, specifying no hadoop.profile (or
Phadoop*) will activate hadoop-1, we will need to ensure that if hadoop2-hbase-95 is activated, then hadoop-1 should not be - perhaps by using !(hadoop.profile || hadoop2-hbase-95) - whatever the syntax is.