Add new feature to support mapr hadoop cluster

This code change can make Presto support mapr hadoop. Have tested with 1.0.3-mapr-3.0.3.