Troubleshooting: 401 Unauthorized

Troubleshoot the session returning a 401: Unauthorized error message.

When you are in a session and try to run the code for a Hive or Impala connection, the session returns a 401: Unauthorized HTTP error message.

Figure 1. 401: Unauthorized HTTP error message

Solution: You need to set your workload password. See Setting the workload password for details. After setting the workload password, start a new session. If this error occurs in the Data tab, then restart the Data Discovery and Exploration app.

Solution: Go to the Hadoop authentication page:

Figure 2. Access Hadoop authentication page

Set your workload password. After setting the workload password, start a new session. If this error occurs in the Data tab, then restart the Data Discovery and Exploration application.