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

Jasper dependencies cause AMS webapp start failure

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment