You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by "Shaofeng SHI (JIRA)" <ji...@apache.org> on 2015/07/20 09:18:04 UTC

[jira] [Updated] (KYLIN-898) "CUBOID_CACHE" in Cuboid.java never flushes

     [ https://issues.apache.org/jira/browse/KYLIN-898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shaofeng SHI updated KYLIN-898:
-------------------------------
    Sprint: Sprint 44

> "CUBOID_CACHE" in Cuboid.java never flushes
> -------------------------------------------
>
>                 Key: KYLIN-898
>                 URL: https://issues.apache.org/jira/browse/KYLIN-898
>             Project: Kylin
>          Issue Type: Bug
>          Components: Metadata
>    Affects Versions: 0.7.1, 0.7.2
>            Reporter: Shaofeng SHI
>            Assignee: Shaofeng SHI
>             Fix For: v0.8.1, v0.7.3
>
>
> I have a cube, in which added a dimension column called "columna"; Later I changed it to another name, and saved the cube successfully; Then I tried to build the cube, but got an error saying that "Can't find column DEFAULT_TABLE_NAME_COLUMNEA"; Even I click the "Reload Metadata" in Admin tab, the problem still there; 
> {code}
> [http-bio-7070-exec-9]:[2015-07-19 22:44:58,389][ERROR][org.apache.kylin.rest.controller.BasicController.handleError(BasicController.java:52)] -
> java.lang.RuntimeException: Can't find column DEFAULT_TABLE_NAME_COLUMNEA
> 	at org.apache.kylin.job.hadoop.hive.CubeJoinedFlatTableDesc.parseCubeDesc(CubeJoinedFlatTableDesc.java:91)
> 	at org.apache.kylin.job.hadoop.hive.CubeJoinedFlatTableDesc.<init>(CubeJoinedFlatTableDesc.java:54)
> 	at org.apache.kylin.job.cube.CubingJobBuilder.addCubingSteps(CubingJobBuilder.java:161)
> 	at org.apache.kylin.job.cube.CubingJobBuilder.buildJob(CubingJobBuilder.java:67)
> 	at org.apache.kylin.rest.service.JobService.submitJob(JobService.java:145)
> 	at org.apache.kylin.rest.service.JobService$$FastClassByCGLIB$$83a44b2a.invoke(<generated>)
> 	at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
> 	at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689)
> 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
> 	at org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:64)
> 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
> 	at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622)
> 	at org.apache.kylin.rest.service.JobService$$EnhancerByCGLIB$$e1b6fedf.submitJob(<generated>)
> 	at org.apache.kylin.rest.controller.CubeController.rebuild(CubeController.java:200)
> 	at org.apache.kylin.rest.controller.CubeController$$FastClassByCGLIB$$309afa4a.invoke(<generated>)
> 	at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
> {code}



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

Re: [jira] [Updated] (KYLIN-898) "CUBOID_CACHE" in Cuboid.java never flushes

Posted by hongbin ma <ma...@apache.org>.
fantastic!

This bug is really hard to trace,
we should use class level caches every cautiously.

On Mon, Jul 20, 2015 at 3:18 PM, Shaofeng SHI (JIRA) <ji...@apache.org>
wrote:

>
>      [
> https://issues.apache.org/jira/browse/KYLIN-898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
> ]
>
> Shaofeng SHI updated KYLIN-898:
> -------------------------------
>     Sprint: Sprint 44
>
> > "CUBOID_CACHE" in Cuboid.java never flushes
> > -------------------------------------------
> >
> >                 Key: KYLIN-898
> >                 URL: https://issues.apache.org/jira/browse/KYLIN-898
> >             Project: Kylin
> >          Issue Type: Bug
> >          Components: Metadata
> >    Affects Versions: 0.7.1, 0.7.2
> >            Reporter: Shaofeng SHI
> >            Assignee: Shaofeng SHI
> >             Fix For: v0.8.1, v0.7.3
> >
> >
> > I have a cube, in which added a dimension column called "columna"; Later
> I changed it to another name, and saved the cube successfully; Then I tried
> to build the cube, but got an error saying that "Can't find column
> DEFAULT_TABLE_NAME_COLUMNEA"; Even I click the "Reload Metadata" in Admin
> tab, the problem still there;
> > {code}
> > [http-bio-7070-exec-9]:[2015-07-19
> 22:44:58,389][ERROR][org.apache.kylin.rest.controller.BasicController.handleError(BasicController.java:52)]
> -
> > java.lang.RuntimeException: Can't find column DEFAULT_TABLE_NAME_COLUMNEA
> >       at
> org.apache.kylin.job.hadoop.hive.CubeJoinedFlatTableDesc.parseCubeDesc(CubeJoinedFlatTableDesc.java:91)
> >       at
> org.apache.kylin.job.hadoop.hive.CubeJoinedFlatTableDesc.<init>(CubeJoinedFlatTableDesc.java:54)
> >       at
> org.apache.kylin.job.cube.CubingJobBuilder.addCubingSteps(CubingJobBuilder.java:161)
> >       at
> org.apache.kylin.job.cube.CubingJobBuilder.buildJob(CubingJobBuilder.java:67)
> >       at
> org.apache.kylin.rest.service.JobService.submitJob(JobService.java:145)
> >       at
> org.apache.kylin.rest.service.JobService$$FastClassByCGLIB$$83a44b2a.invoke(<generated>)
> >       at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
> >       at
> org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689)
> >       at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
> >       at
> org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:64)
> >       at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
> >       at
> org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622)
> >       at
> org.apache.kylin.rest.service.JobService$$EnhancerByCGLIB$$e1b6fedf.submitJob(<generated>)
> >       at
> org.apache.kylin.rest.controller.CubeController.rebuild(CubeController.java:200)
> >       at
> org.apache.kylin.rest.controller.CubeController$$FastClassByCGLIB$$309afa4a.invoke(<generated>)
> >       at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
> > {code}
>
>
>
> --
> This message was sent by Atlassian JIRA
> (v6.3.4#6332)
>



-- 
Regards,

*Bin Mahone | 马洪宾*
Apache Kylin: http://kylin.io
Github: https://github.com/binmahone