Thanks Madhu. We use some variant of hadoop 2.6.0. I have found the jiras
that fixed the issue. They are YARN-2246 and YARN-3239.

On Tue, Sep 27, 2016 at 1:38 PM, Madhusudan Ramanna <m.rama...@ymail.com>
wrote:

> 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_0005
> The yarn proxy url: http://rm.com:50030/proxy/application_1474998344010_
> 0005/tez-ui/#/tez-app/application_1474998344010_0005
> The 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
>
>
>
>
>

Reply via email to