GitHub user lvsoft opened a pull request: https://github.com/apache/spark/pull/3425
[SPARK-4475] change "localhost" to "127.0.0.1" if "localhost" can't be resolved This will fix [SPARK-4475] Simply change "localhost" to equivalent "127.0.0.1" will solve the issue. You can merge this pull request into a Git repository by running: $ git pull https://github.com/lvsoft/spark feature/FixPySpark_failed_to_initialize_if_localhost_can_not_be_resolved Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/3425.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #3425 ---- commit 25efc78dc766f63888bdae0fdb8dfabb457145ae Author: Lv, Qi <qi...@intel.com> Date: 2014-11-24T08:24:56Z change "localhost" to "127.0.0.1" if "localhost" can't be resolved ---- --- 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. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org