diff options
author | Ye Xianjin <advancedxy@gmail.com> | 2014-09-15 21:53:38 -0700 |
---|---|---|
committer | Patrick Wendell <pwendell@gmail.com> | 2014-09-15 21:53:38 -0700 |
commit | febafefa5aaee3b3eda5e1b45a75bc6d8e7fb13f (patch) | |
tree | 7d0b0b808ba150c5968144b870da5818a303a5d4 /docs/_plugins | |
parent | ecf0c02935815f0d4018c0e30ec4c784e60a5db0 (diff) | |
download | spark-febafefa5aaee3b3eda5e1b45a75bc6d8e7fb13f.tar.gz spark-febafefa5aaee3b3eda5e1b45a75bc6d8e7fb13f.tar.bz2 spark-febafefa5aaee3b3eda5e1b45a75bc6d8e7fb13f.zip |
[SPARK-3040] pick up a more proper local ip address for Utils.findLocalIpAddress method
Short version: NetworkInterface.getNetworkInterfaces returns ifs in reverse order compared to ifconfig output. It may pick up ip address associated with tun0 or virtual network interface.
See [SPARK_3040](https://issues.apache.org/jira/browse/SPARK-3040) for more detail
Author: Ye Xianjin <advancedxy@gmail.com>
Closes #1946 from advancedxy/SPARK-3040 and squashes the following commits:
f33f6b2 [Ye Xianjin] add windows support
087a785 [Ye Xianjin] reverse the Networkinterface.getNetworkInterfaces output order to get a more proper local ip address.
Diffstat (limited to 'docs/_plugins')
0 files changed, 0 insertions, 0 deletions