Github user benoyantony commented on the pull request:

    https://github.com/apache/spark/pull/2276#issuecomment-54694835
  
    Thanks . 
    I have taken a different approach.
    I check if the HTTPS is enabled for YARN by looking at yarn.http.policy. 
This is a new config parameter introduced after YARN-1203. If  yarn.http.policy 
is HTTPS_ONLY, then appUIAddress  is passed. This means that for most cases, we 
pass appUIHostPort as before.
    
    With this implementation, I  prefer not to use URI to remove the scheme 
from uiAddress for the alpha version of YarnRMClientImpl since there is a good 
chance of passing uiAddress without scheme and  URI construction with throw 
exception.


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