Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-7688

When a servlet filter throws an exception in init(..), the Jetty server failed silently.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.23.0, 0.24.0
    • 1.2.0, 2.0.3-alpha, 0.23.11
    • None
    • None
    • Reviewed

    Description

      When a servlet filter throws a ServletException in init(..), the exception is logged by Jetty but not re-throws to the caller. As a result, the Jetty server failed silently.

      Attachments

        1. org.apache.hadoop.http.TestServletFilter-output.txt
          17 kB
          Tsz-wo Sze
        2. HADOOP-7688-branch-2.patch
          2 kB
          Uma Maheswara Rao G
        3. HADOOP-7688-branch-1.patch
          3 kB
          Uma Maheswara Rao G
        4. HADOOP-7688.patch
          3 kB
          Uma Maheswara Rao G
        5. filter-init-exception-test.patch
          0.8 kB
          Tsz-wo Sze

        Issue Links

          Activity

            People

              umamaheswararao Uma Maheswara Rao G
              szetszwo Tsz-wo Sze
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: