Hadoop Common
  1. Hadoop Common
  2. HADOOP-7688

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

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.23.0, 0.24.0
    • Fix Version/s: 1.2.0, 2.0.3-alpha, 0.23.11
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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.

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

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Uma Maheswara Rao G
              Reporter:
              Tsz Wo Nicholas Sze
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development