Step 19: (Optional) Enable Authentication for HTTP Web-Consoles for Hadoop Roles

Authentication for access to the HDFS, MapReduce, and YARN roles' web-consoles can be enabled via a configuration option for the appropriate service. To enable this authentication:
  1. From the Services tab, select the service (HDFS, MapReduce, or YARN) for which you want to enable authentication.
  2. From the Configuration tab, select View and Edit.
  3. Under the Service-Wide > Security category, check the Enable Authentication for HTTP Web-Consoles property, and Save the your changes.

    This will trigger a command to generate the new credentials required for this.

  4. Once the command finishes, restart all roles of that service.