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

    https://github.com/apache/spark/pull/2206#discussion_r16924446
  
    --- Diff: 
yarn/common/src/main/scala/org/apache/spark/deploy/yarn/ApplicationMaster.scala 
---
    @@ -174,7 +174,7 @@ private[spark] class ApplicationMaster(args: 
ApplicationMasterArguments,
         if (sc == null) {
           finish(FinalApplicationStatus.FAILED, "Timed out waiting for 
SparkContext.")
         } else {
    -      registerAM(sc.ui.appUIHostPort, 
YarnSparkHadoopUtil.getUIHistoryAddress(sc, sparkConf))
    +      registerAM(sc.ui.appUIAddress, 
YarnSparkHadoopUtil.getUIHistoryAddress(sc, sparkConf))
    --- End diff --
    
    But that patch is pretty recent. If adding the scheme breaks Yarn 2.3 and 
older, then Spark should detect which version is running before setting the 
address.


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