You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "hongbin ma (JIRA)" <ji...@apache.org> on 2016/08/17 07:15:21 UTC

[jira] [Created] (KYLIN-1963) Delegate the loading of certain package (like slf4j) to tomcat's parent classloader

hongbin ma created KYLIN-1963:
---------------------------------

             Summary: Delegate the loading of certain package (like slf4j) to tomcat's parent classloader
                 Key: KYLIN-1963
                 URL: https://issues.apache.org/jira/browse/KYLIN-1963
             Project: Kylin
          Issue Type: Improvement
            Reporter: hongbin ma
            Assignee: hongbin ma


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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)