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

2018-10-10 Thread Kuhu Shukla (JIRA)


 [ 
https://issues.apache.org/jira/browse/TEZ-3961?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kuhu Shukla updated TEZ-3961:
-
Attachment: TEZ-3961.002.patch

> 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-3961.002.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)


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

2018-10-10 Thread Kuhu Shukla (JIRA)


 [ 
https://issues.apache.org/jira/browse/TEZ-3961?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kuhu Shukla updated TEZ-3961:
-
Attachment: TEZ-3961.001.patch

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