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

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • v1.5.4
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: