Github user mateiz commented on the pull request:

    https://github.com/apache/spark/pull/86#issuecomment-36945861
  
    I see, regarding the memory part, it sounds like we could do it in bash, 
but it might be kind of painful. We could do the following:
    - Look for just the driver memory and cluster mode arguments using bash
    - If we're not running in cluster mode, set the -Xmx and -Xms parameters 
when launching
    
    I agree that we shouldn't use the full memory you required if you submitted 
to a cluster. I'm not sure how hard it is to parse these arguments in bash -- 
it shouldn't be *that* hard, but we'll also have to do it in .cmd scripts on 
Windows and such. Otherwise It would be good to test how slow this is with two 
JVM launches (maybe we can avoid a lot of the slowness).


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

Reply via email to