Github user aarondav commented on a diff in the pull request:

    https://github.com/apache/spark/pull/3893#discussion_r22538331
  
    --- Diff: core/src/main/scala/org/apache/spark/util/Utils.scala ---
    @@ -701,7 +701,7 @@ private[spark] object Utils extends Logging {
         }
       }
     
    -  private var customHostname: Option[String] = None
    +  private var customHostname: Option[String] = 
sys.env.get("SPARK_LOCAL_HOSTNAME")
    --- End diff --
    
    Also note that SPARK_LOCAL_HOSTNAME is actually the DNS we want to 
advertise internally, not externally, so I don't think it's the same as 
SPARK_PUBLIC_DNS in DBC's case.
    
    For instance, the external DNS is 
ec2-x-x-x-x.us-west-2.compute.amazonaws.com and the internal one is 
ip-y-y-y-y.us-west-2.compute.internal.


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