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

    https://github.com/apache/spark/pull/8318#discussion_r37570006
  
    --- Diff: python/pyspark/__init__.py ---
    @@ -36,6 +36,31 @@
           Finer-grained cache persistence levels.
     
     """
    +import os
    +import sys
    +
    +import xml.etree.ElementTree as ET
    +
    +if (os.environ.get("SPARK_HOME", "not found") == "not found"):
    --- End diff --
    
    That's possible via the following:
    
        PYSPARK_DRIVER_PYTHON=ipython PYSPARK_DRIVER_PYTHON_OPTS='notebook'  
spark-1.4.0-bin-hadoop2.4/bin/pyspark
    
    Not completely discoverable, but it works =)


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

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

Reply via email to