Troubleshooting HttpFS

About this task

To debug authentication issues, follow these steps:

Procedure

  1. Edit the log4j properties file located at /opt/mapr/hadoop/hadoop-3.3.x/etc/hadoop/httpfs-log4j.properties and insert the following lines to activate debug capabilities:
    log4j.logger.org.apache.hadoop.fs.http.server=DEBUG, httpfs
    log4j.logger.org.apache.hadoop.lib=DEBUG, httpfs
    log4j.logger.org.apache.hadoop.security.authentication.server=DEBUG, httpfs
  2. Search the logs located at /opt/mapr/hadoop/hadoop-3.3.x/logs for the words ERROR or Exception.