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

    https://github.com/apache/spark/pull/7610#discussion_r35448991
  
    --- Diff: bin/pyspark ---
    @@ -82,4 +82,4 @@ fi
     
     export PYSPARK_DRIVER_PYTHON
     export PYSPARK_DRIVER_PYTHON_OPTS
    -exec "$SPARK_HOME"/bin/spark-submit pyspark-shell-main "$@"
    +exec "$SPARK_HOME"/bin/spark-submit pyspark-shell-main --name 
"PySparkShell" "$@"
    --- End diff --
    
    `--name MyName` works. So the final command will be like this:
    
    `spark-submit pyspark-shell-main --name "PySparkShell" --name "MyName 
<other args>`
    
    Then, MyName takes effect since it comes later than PySparkShell.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

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

Reply via email to