Help Center/ MapReduce Service/ Troubleshooting/ Using Yarn/ Failed to View Job Logs on the Yarn Web UI
Updated on 2022-09-14 GMT+08:00

Failed to View Job Logs 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. You 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