Help Center/
MapReduce Service/
User Guide (Paris Region)/
Troubleshooting/
Using Spark/
An Error Is Reported When Spark Is Used
Updated on 2024-10-11 GMT+08:00
An Error Is Reported When Spark Is Used
Issue
When Spark is used, the cluster fails to run.
Symptom
When Spark is used, the cluster fails to run.
Cause Analysis
- Invalid characters are added during command execution.
- The owner and owner group of the uploaded JAR file is incorrect.
Procedure
- Run ./bin/spark-submit --class cn.interf.Test --master yarn-client /opt/client/Spark/spark1-1.0-SNAPSHOT.jar; to check whether invalid characters are imported.
- If they are imported, modify the invalid characters and run the command again.
- After the command is executed again, other errors occur. Both the owner and the owner group of the JAR file are root.
- Change the owner and the owner group of the JAR file to omm:wheel.
Parent topic: Using Spark
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