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.
- 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
- Submit an Oozie task. For details, see Using Oozie from Scratch.
- Log in to the Yarn web UI and check whether the user corresponding to the submitted task is root.
Procedure
- Log in to the node where the Oozie client is installed and run the following command:
cd Client installation directory
- 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
- Submit the Oozie task again.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot