Github user zsxwing commented on the pull request:

    https://github.com/apache/spark/pull/9237#issuecomment-157873464
  
    Tested both Mac OS X and Linux with the latest codes of this PR. Here are 
the results:
    
    Mac OS X:
    ```
    $ ./bin/spark-shell --conf spark.driver.port=4039 2>&1 | grep port
    15/11/18 13:32:50 INFO Utils: Successfully started service 'HTTP class 
server' on port 50179.
    15/11/18 13:32:52 INFO Utils: Successfully started service 'sparkDriver' on 
port 4039.
    15/11/18 13:32:53 INFO Utils: Successfully started service 
'sparkDriverActorSystem' on port 4040.
    15/11/18 13:32:53 INFO Utils: Successfully started service 'HTTP file 
server' on port 50181.
    15/11/18 13:32:53 INFO Utils: Successfully started service 'SparkUI' on 
port 4040.
    15/11/18 13:32:53 INFO Utils: Successfully started service 
'org.apache.spark.network.netty.NettyBlockTransferService' on port 50182.
    ```
    
    Linux:
    ```
    $ ./bin/spark-shell --conf spark.driver.port=4039 2>&1 | grep port
    15/11/18 21:33:37 INFO Utils: Successfully started service 'HTTP class 
server' on port 44756.
    15/11/18 21:33:41 INFO Utils: Successfully started service 'sparkDriver' on 
port 4039.
    15/11/18 21:33:41 INFO Utils: Successfully started service 
'sparkDriverActorSystem' on port 4040.
    15/11/18 21:33:42 INFO Utils: Successfully started service 'HTTP file 
server' on port 48386.
    15/11/18 21:33:52 WARN Utils: Service 'SparkUI' could not bind on port 
4040. Attempting port 4041.
    15/11/18 21:34:02 INFO Utils: Successfully started service 'SparkUI' on 
port 4041.
    15/11/18 21:34:02 INFO Utils: Successfully started service 
'org.apache.spark.network.netty.NettyBlockTransferService' on port 37827.
    ```


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