Uploaded image for project: 'Apache Tez'
  1. Apache Tez
  2. TEZ-3961

Tez UI web.xml tries to reach out to java.sun.com for validation after moving to jetty-9

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.1
    • 0.9.2, 0.10.0
    • None
    • None

    Description

      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.

      Attachments

        1. TEZ-3961.001.patch
          0.7 kB
          Kuhu Shukla
        2. TEZ-3961.002.patch
          0.5 kB
          Kuhu Shukla

        Activity

          People

            kshukla Kuhu Shukla
            kshukla Kuhu Shukla
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: