Add new feature to support mapr hadoop cluster

This code change will support mapr hadoop.