Support configuring hadoop-metrics.proproties and hadoop-metrics2.proproties for Hadoop and HBase
Fix issue of setting JAVA_HOME for MapR 3.1