Configuring HttpFS to use SSL

Configure the HttpFS Server to use SSL (HTTPS)

  1. Stop HttpFS by running
    sudo /sbin/service hadoop-httpfs stop
  2. To enable SSL, change which configuration the HttpFS server should work with using the alternatives command.
    For RHEL systems, to use SSL:
    alternatives --set hadoop-httpfs-tomcat-conf /etc/hadoop-httpfs/tomcat-conf.https
  3. Start HttpFS by running
    sudo /sbin/service hadoop-httpfs start

Connect to the HttpFS Web UI using SSL (HTTPS)

Use https://<httpfs_server_hostname>:14000/webhdfs/v1/ though most browsers should automatically redirect you if you use http://<httpfs_server_hostname>:14000/webhdfs/v1/