[SPARK-3286] - Cannot view ApplicationMaster UI when Yarn’s url scheme is ...

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