Github user vanzin commented on the issue:

    https://github.com/apache/spark/pull/13950
  
    > I can add info about app UI not being accessible directly when reverse 
proxy is enabled in the documentation, so users do know about this.
    
    I think that's the bare minimum, since users might be surprised by the 
behavior. As for the behavior itself, it seems inline with the goal of the 
patch (where users wouldn't have direct access to the app's UI, only through 
the master). But one thing is that it requires both the master and all the 
applications to share that config - and that needs to be clearly documented. In 
cluster mode, it would even be nice if the master / worker daemons set that 
config when launching the app.
    
    The YARN code is in `ApplicationMaster` (look for `def addAmIpFilter`). But 
that relies on a YARN class that might not be available to the master / worker 
daemons, so you can't really use it here.


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

Reply via email to