Help Center/
MapReduce Service/
Developer Guide (Normal_Earlier Than 3.x)/
Spark Development Guide/
Preparing a Spark Application Development Environment/
Preparing a Spark Application Running Environment
Updated on 2024-08-16 GMT+08:00
Preparing a Spark Application Running Environment
Scenario
The operating environment (client) of Spark can be deployed on Linux only. Perform the following operations to prepare the operating environment.
Preparing a Running and Commissioning Environment
- On the ECS management console, apply for a new ECS for application running and commissioning.
- The security group of the ECS must be the same as that of the master node in an MRS cluster.
- The ECS and the MRS cluster must be in the same VPC.
- The ECS network interface controller (NIC) and the MRS cluster must be in the same network segment.
- Apply for an EIP, bind it, and configure an inbound or outbound rule for the security group.
- Download the client program. For details, see Downloading an MRS Client.
- Log in to the client to download the target node and install a cluster client as user root.
- Run the following command to decompress the client package:
- Run the following command to verify the installation file package:
- Run the following command to decompress the installation file package:
- Run the following command to install the client to a specified directory (absolute path), for example, /opt/client. The directory is automatically created.
cd /opt/MRS_Services_ClientConfig
sh install.sh /opt/client
Components client installation is complete.
Parent topic: Preparing a Spark Application Development Environment
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