Add new feature to support mapr hadoop cluster

This code change can make Presto support mapr hadoop.