You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "kangkaisen (JIRA)" <ji...@apache.org> on 2016/09/01 09:17:20 UTC

[jira] [Created] (KYLIN-1992) Clear ThreadLocal Contexts when query failed before scaning HBase

kangkaisen created KYLIN-1992:
---------------------------------

             Summary: Clear ThreadLocal Contexts when query failed before scaning HBase
                 Key: KYLIN-1992
                 URL: https://issues.apache.org/jira/browse/KYLIN-1992
             Project: Kylin
          Issue Type: Bug
            Reporter: kangkaisen
            Assignee: kangkaisen
            Priority: Minor


currently, we call `OLAPContext.clearThreadLocalContexts()` function before scaning HBase.
if query failed before scaning HBase, we would get wrong `realization` of the query possibly.
Because the thread pool of Tomcat multiplexed the thread and didn't clear ThreadLocal variable.



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