Likely you're using CDH yarn that is not patched yet. I worked around this bug by adding a rewrite to tomcat RewriteRule ^/tez-ui/tez-ui(.*) /tez-ui$1 [R,NE,QSA]
On Tuesday, September 27, 2016 11:16 AM, Ming Ma <min...@twitter.com> wrote: Hi, In our set up, the Tez UI is hosted under a subfolder "tez-ui" in tomcat, e.g. http://tez.com:50060/tez-ui/. Somehow after the job has completed, the redirect Tez URI from yarn UI has redundant "tez-ui" in it, thus doesn't work. The tracking url Tez sends to RM: http://tez.com:50060/tez-ui/#/tez-app/application_1474998344010_0005The yarn proxy url: http://rm.com:50030/proxy/application_1474998344010_0005/tez-ui/#/tez-app/application_1474998344010_0005The redirected-to tez url when someone clicks on the the yarn proxy url: http://tez.com:50060/tez-ui/tez-ui/#/tez-app/application_1474998344010_0005. That is due to how yarn WebAppProxyServlet reconstructs the The redirected-to tez url based on the tracking url and the yarn proxy url. Has anyone run into this? Thanks. Ming