Github user ifilonenko commented on a diff in the pull request:

    https://github.com/apache/spark/pull/21092#discussion_r192241158
  
    --- Diff: 
resource-managers/kubernetes/docker/src/main/dockerfiles/spark/entrypoint.sh ---
    @@ -53,6 +53,28 @@ if [ -n "$SPARK_MOUNTED_FILES_DIR" ]; then
       cp -R "$SPARK_MOUNTED_FILES_DIR/." .
     fi
     
    +if [ -n "$PYSPARK_FILES" ]; then
    +    PYTHONPATH="$PYTHONPATH:$PYSPARK_FILES"
    +fi
    +
    +PYSPARK_ARGS=""
    +if [ -n "$PYSPARK_APP_ARGS" ]; then
    +    PYSPARK_ARGS="$PYSPARK_APP_ARGS"
    +fi
    +
    +
    +if [ "$PYSPARK_PYTHON_VERSION" == "2" ]; then
    --- End diff --
    
    We set the PySpark version to default to 2 in the configs


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to