spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andrewor14 <...@git.apache.org>
Subject [GitHub] spark pull request: [SPARK-2894][Core] Fixes spark-shell and pyspa...
Date Sat, 09 Aug 2014 07:32:19 GMT
Github user andrewor14 commented on a diff in the pull request:

    https://github.com/apache/spark/pull/1864#discussion_r16024855
  
    --- Diff: python/pyspark/java_gateway.py ---
    @@ -39,7 +39,7 @@ def launch_gateway():
             submit_args = os.environ.get("PYSPARK_SUBMIT_ARGS")
             submit_args = submit_args if submit_args is not None else ""
             submit_args = shlex.split(submit_args)
    -        command = [os.path.join(SPARK_HOME, script), "pyspark-shell"] + submit_args
    +        command = [os.path.join(SPARK_HOME, script)] + submit_args + ["pyspark-shell"]
    --- End diff --
    
    You could probably get them through `os.environ.get("SPARK_APPLICATION_ARGS")` here (or
whatever you decide to call the environment variable)


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Mime
View raw message