Github user cocoatomo commented on the pull request:

    https://github.com/apache/spark/pull/2554#issuecomment-57660342
  
    Thank you for the suggestions, mattf and JoshRosen.
    
    I deleted the sentence about IPYTHON and IPYTHON_OPTS,
    and replace "-u" option with PYTHONUNBUFFERED.
    
    To confirm that PYTHONUNBUFFERED is set,
    we can run a python executable with a following python script set as an 
argument.
    
    ```python
    # env.py
    import os
    print os.environ['PYTHONUNBUFFERED']
    ```
    
    ```bash
    $ PYSPARK_PYTHON=ipython ./bin/pyspark env.py
    ...
    YES
    ```


---
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