You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Kuhu Shukla (JIRA)" <ji...@apache.org> on 2018/10/10 16:26:02 UTC

[jira] [Comment Edited] (TEZ-3961) Tez UI web.xml tries to reach out to java.sun.com for validation after moving to jetty-9

    [ https://issues.apache.org/jira/browse/TEZ-3961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16645213#comment-16645213 ] 

Kuhu Shukla edited comment on TEZ-3961 at 10/10/18 4:25 PM:
------------------------------------------------------------

Thank you for the ping [~jeagles]. This patch is simple but needs review on whether it is ok to remove the DOCTYPE declaration.


was (Author: kshukla):
Thank you for the ping [~jeagles]. This patch is simple but needs review on whether it is ok to emovethe DOCTYPE declaration.

> Tez UI web.xml tries to reach out to java.sun.com for validation after moving to jetty-9
> ----------------------------------------------------------------------------------------
>
>                 Key: TEZ-3961
>                 URL: https://issues.apache.org/jira/browse/TEZ-3961
>             Project: Apache Tez
>          Issue Type: Bug
>    Affects Versions: 0.9.1
>            Reporter: Kuhu Shukla
>            Assignee: Kuhu Shukla
>            Priority: Major
>         Attachments: TEZ-3961.001.patch
>
>
> Tez UI can throw a 503 error when hosted on a server that cannot reach public IPs like java.sun.com which are listed as servers for DTDs in web.xml.  This behavior change comes from moving to jetty 9 (Tez and Hadoop 3.0) which removed provided schemas that were being shipped with earlier versions. It is suboptimal even in cases where public IPs are accessible to fetch the DTD for a very very simple web.xml file. We can choose to either remove the DTD validation or add dependency explicitly to org.eclipse.jetty.toolchain » jetty-osgi-servlet-api to allow for this jetty change to not affect the behavior of tez-ui.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)