Github user shivaram commented on the pull request:

    https://github.com/apache/spark/pull/2988#issuecomment-61021907
  
    Thanks for taking a closer look ! I don't know much python, but can't we 
get the directory that the script is in using something like `__file__` and 
prefix that to "deploy.generic" ?  
    
    From what I can see there are two kinds of paths we have -- the first are 
paths supplied by the user (like the SSH identity file) where we can preserve 
the working directory and not change the path
    
    The second are files relative to spark_ec2.py 's location (like 
deploy.generic). Making these absolute paths seems like a good idea to me.


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