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.