Configure Hue to use MapR-SASL for HttpFS

As of Hue 3.7-1505, Hue uses MapR-SASL to communicate with HttpFS 1.0-1504 or greater on a secure MapR cluster that is version 4.0.1 cluster or greater.

The default hui.ini file that is installed with Hue (version 3.7-1505 and above) includes the following configurations that allow Hue to automatically detect and set the security configuration:

[[hdfs_clusters]]
   # HA support by using HttpFs
   [[[default]]]
     ...
     # Change this if your HDFS cluster is secured
     security_enabled=${security_enabled}
 
    # Security mechanism of authentication none/GSSAPI/MAPR-SECURITY
     mechanism=${mechanism}
     ...
Note: If security_enabled=True and mechanism=MAPR-SECURITY, MapR-SASL will still be used; however, no automatic configuration will occur.