Help Center/
MapReduce Service/
User Guide (Ankara Region)/
FAQs/
Client Usage/
How Do I Configure Environment Variables and Run Commands on a Component Client?
Updated on 2024-11-29 GMT+08:00
How Do I Configure Environment Variables and Run Commands on a Component Client?
- Log in to any Master node as user root.
- Run the su - omm command to switch to user omm.
- Run the cd /opt/client command to switch to the client.
- Run the source bigdata_env command to configure environment variables.
If Kerberos authentication is enabled for the current cluster, run the kinit Component service user command to authenticate the user. If Kerberos authentication is disabled, skip this step.
- After the environment variables are configured, run the client command of the component. For example, to view component information, you can run the HDFS client command hdfs dfs -ls / to view the HDFS root directory file.
Parent topic: Client Usage
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.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot