Help Center/ MapReduce Service/ Troubleshooting/ Using Yarn/ "Could not access logs page!" Is Displayed When Job Logs Are Queried on the Yarn Web UI
Updated on 2023-11-30 GMT+08:00

"Could not access logs page!" Is Displayed When Job Logs Are Queried on the Yarn Web UI

Symptom

When a user logs in to the Yarn web UI to view job logs and clicks Local logs, error message "Could not access logs page!" is displayed.

Cause Analysis

Local logs is used to access service logs. However, for security purposes, this function is inaccessible from the Yarn web UI. The user can log in to the active ResourceManager node to view ResourceManager logs.

Procedure

  1. Log in to Manager and choose Cluster > Services > Yarn. On the Yarn page, click the Instance tab and take note of the service IP address of the active ResourceManager instance.
  2. Log in to the active ResourceManager node as user root.
  3. Go to the /var/log/Bigdata/yarn/rm directory and view the ResourceManager logs.

    cd /var/log/Bigdata/yarn/rm