Configure Hue to use MapR-SASL for MRv1

As of Hue 3.7, Hue can use MapR-SASL to communicate with JobTracker on a secure MapR cluster that is version 4.0.2 or greater. You cannot configure Hue to use both Kerberos and MapR-SASL for its communications with MRv1.

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:

 [[mapred_clusters]]
      
      [[[default]]]
      ...
      # Change this if your MapReduce cluster is secured
      security_enabled=${security_enabled}
      
      # Security mechanism of authentication none/GSSAPI/MAPR-SECURITY
      mechanism=${mechanism}
      ...
Note: For Hue 3.7 versions prior to 1505, set security_enabled=True and mechanism=MAPR-SECURITY. For Hue 3.7-1505 or greater, when you set security_enabled=True and mechanism=MAPR-SECURITY, MapR-SASL will be used; however, no automatic configuration will occur.