Help Center/ MapReduce Service/ Component Operation Guide (LTS) (Ankara Region)/ Using Oozie/ Common Issues About Oozie/ What Should I Do If the User Who Submits Jobs on the Oozie Client in a Normal Cluster Is Inconsistent with the User Displayed on the Yarn Web UI?
Updated on 2024-11-29 GMT+08:00

What Should I Do If the User Who Submits Jobs on the Oozie Client in a Normal Cluster Is Inconsistent with the User Displayed on the Yarn Web UI?

Question

The user who submits a job on the Oozie client of a normal MRS cluster is different from the user displayed on the Yarn web UI.

  1. Log in to the node where the Oozie client is installed and run the following commands:

    cd Client installation directory

    source bigdata_env

    export HADOOP_ USER_ NAME=awdtest

  2. Submit an Oozie task. For details, see Using Oozie from Scratch.
  3. Log in to the Yarn web UI and check whether the user corresponding to the submitted task is root.

Procedure

  1. Log in to the node where the Oozie client is installed and run the following command:

    cd Client installation directory

  2. Run the following commands to specify the user who submits the task:

    su User who submits the task

    source bigdata_env

    If the error message "Permission denied" is displayed, run the following command to change the permission on the client directory:

    chmod -R 777 Client installation directory

  3. Submit the Oozie task again.