PAM Authentication for HttpFS
About this task
Procedure
- 
        
        Add the 
httpfs.hadoop.authentication.typeandhttpfs.authentication.typeproperties to the/opt/mapr/hadoop/hadoop-3.3.4/etc/hadoop/httpfs-site.xmlfile, as shown:<property> <name>httpfs.hadoop.authentication.type</name> <value>multiauth</value> </property> <property> <name>httpfs.authentication.type</name> <value>multiauth</value> </property>NOTEOn secure clusters, themultiauthauthentication is enabled by default. - 
        Restart the HttpFS service:
        
maprcli node services -name httpfs -action restart -nodes <space delimited list of nodes> - 
        After restarting the service, run cURL with the PUT operation, as
          shown in this example:
        NOTEIf HttpFS is configured with plain authentication through PAM, the cURL request must contain a username and password.
curl -X PUT "https://mapr:mapr@<node_name>:14000/webhdfs/v1/tmp/example?op=mkdirs"