Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-8866

Jasper dependencies cause AMS webapp start failure

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • ambari-metrics
    • None

    Description

      Based on when the following dependencies get loaded, AMS collectors fail to come up with exception trace provided.

      [root@ams-collector2-1 ambari-metrics-collector]# ls -l jasper-*
      -rw-r--r--. 1 root root 408133 Dec 18 22:45 jasper-compiler-5.5.23.jar
      -rw-r--r--. 1 root root  76844 Dec 18 22:45 jasper-runtime-5.5.23.jar
      

      Exception:

      java.lang.NoSuchFieldError: IS_SECURITY_ENABLED
              at org.apache.jasper.compiler.JspRuntimeContext.<init>(JspRuntimeContext.java:197)
      

      Collector starts one the jars are removed.

      Note: It seems lot of the test scope jar are being pulled into the collector rpm.

      Attachments

        1. AMBARI-8866.patch
          1 kB
          Siddharth Wagle

        Activity

          People

            swagle Siddharth Wagle
            swagle Siddharth Wagle
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: