Github user mattf commented on the pull request:

    https://github.com/apache/spark/pull/1251#issuecomment-47426185
  
    @pwendell 
    
    the port needs to be owned by the child and is ephemeral. getting a 
guaranteed available port is something that os can provide, but a parent cannot 
(unless the parent opens the port and somehow passes it to the child). so, i 
agree not using stdout for passing port information from child to parent is 
desirable, it's not exactly simple and using a command-line to pass 
parent->child is also error prone.
    
    push this to resolve the SPARK_PRINT_LAUNCH_COMMAND issue and i'll take a 
look at better ways to setup the gateway


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

Reply via email to