Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-1963

Delegate the loading of certain package (like slf4j) to tomcat's parent classloader

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: v1.5.4
    • Component/s: None
    • Labels:
      None

      Description

      currently we use hbase command to start tomcat, which then starts kylin as a web application. The default classloader that tomcats assigns to the kylin applications is WebappClassLoader, which will search local repositories before parent classloader.

      the design will lead to two separate log4j logging instances in both the "HBase space" and "kylin space", the two loggers will attempt to write to the same file, which is problematic according to official documents

        Attachments

          Activity

            People

            • Assignee:
              mahongbin Hongbin Ma
              Reporter:
              mahongbin Hongbin Ma
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: