GitHub user nchammas opened a pull request:

    https://github.com/apache/spark/pull/2988

    [EC2] Don't change working dir on user

    The issue was uncovered after [this 
discussion](https://issues.apache.org/jira/browse/SPARK-3398?focusedCommentId=14187471&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14187471).
    
    Don't change the working directory on the user. This breaks relative paths 
the user may pass in, e.g., for the SSH identity file.
    
    ```
    ./ec2/spark-ec2 -i ../my.pem
    ```
    
    This patch will preserve the user's current working directory and allow 
calls like the one above to work.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/nchammas/spark spark-ec2-cwd

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/2988.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2988
    
----
commit ce071fca807caf232e6a6287b90ac59ed4bcd605
Author: Nicholas Chammas <[email protected]>
Date:   2014-10-29T03:05:49Z

    don't change working dir

----


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