[jira] [Commented] (KYLIN-3400) wipeCache and createCubeDesc make deadlock happenning

2018-06-15 Thread Shaofeng SHI (JIRA)


[ 
https://issues.apache.org/jira/browse/KYLIN-3400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16513510#comment-16513510
 ] 

Shaofeng SHI commented on KYLIN-3400:
-

"clearL2Cache" will clear all project's cache, that is a big hurt to Kylin's 
performance if many projects are there. 

>  wipeCache and createCubeDesc make deadlock happenning
> --
>
> Key: KYLIN-3400
> URL: https://issues.apache.org/jira/browse/KYLIN-3400
> Project: Kylin
>  Issue Type: Bug
>  Components: REST Service
>Affects Versions: v2.3.0
>Reporter: powerinf
>Priority: Major
> Fix For: v2.4.0, v2.3.2
>
> Attachments: kylin_deadlock.log
>
>
> When using  the rest API  create cube , deadlock occasionally appears,the 
> kylin web ui hang,and cound not login ,See the [^kylin_deadlock.log]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (KYLIN-3400) wipeCache and createCubeDesc make deadlock happenning

2018-06-09 Thread liyang (JIRA)


[ 
https://issues.apache.org/jira/browse/KYLIN-3400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16507221#comment-16507221
 ] 

liyang commented on KYLIN-3400:
---

This seems introduced by commit:

[https://github.com/apache/kylin/commit/a88403ae0050f6b1b2f903534f2330f03996603c]

 

Reverting the related lines in the commit is a fix candidate.

{{ public ProjectInstance reloadProjectQuietly(String project) throws 
IOException {}}

{{ try (AutoLock lock = prjMapLock.lockForWrite()) {}}
{{ ProjectInstance prj = crud.reloadQuietly(project);}}
{{-    clearL2Cache();}}
{{+    reloadProjectL2Cache(project);}}
{{ return prj;}}
{{ }}}
{{ }}}

 

>  wipeCache and createCubeDesc make deadlock happenning
> --
>
> Key: KYLIN-3400
> URL: https://issues.apache.org/jira/browse/KYLIN-3400
> Project: Kylin
>  Issue Type: Bug
>  Components: REST Service
>Affects Versions: v2.3.0
>Reporter: powerinf
>Priority: Major
> Attachments: kylin_deadlock.log
>
>
> When using  the rest API  create cube , deadlock occasionally appears,the 
> kylin web ui hang,and cound not login ,See the [^kylin_deadlock.log]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)