Updated on 2025-11-25 GMT+08:00

Configuring the MRS Client

  1. Log in to the Spark client node and go to the Spark client installation directory "/opt/client/Spark2x/spark/conf".

    cd /opt/client/Spark2x/spark/conf

  2. Configure the following parameters in the spark-defaults.conf file:
    spark.pyspark.driver.python=/usr/bin/python3
    spark.yarn.dist.archives=hdfs://hacluster/user/python/python36.zip#Python