How Do I Use PySpark to Connect MRS Spark?
Question: How do I use pyspark on an ECS to connect an MRS Spark cluster with Kerberos authentication enabled on the Intranet?
Answer: Change the value of spark.yarn.security.credentials.hbase.enabled in the spark-defaults.conf file of Spark to true and use spark-submit --master yarn --keytab keytabfile --principal principal command to specify the Kerberos authentication file.
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