You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by Li Yang <li...@apache.org> on 2017/09/03 11:26:29 UTC

Re: Can't edit cube

As a workaround, you can reload metadata (under System tab) and edit again.

On Thu, Aug 31, 2017 at 3:22 PM, Cheng Wang <ch...@kyligence.io> wrote:

> Sometimes it happens because one Kylin instance is used by multi-users.
> Please make sure there are no others using the Kylin at the same time.
>
>
>
>
> On 8/31/17, 3:19 PM, "apache_dev@163.com" <ap...@163.com> wrote:
>
> >Hi,
> >
> >When edit the exist cube,can't save.Please help see what's the problem?
> >
> >Error message:
> >
> >
> >2017-08-31 15:20:08,022 ERROR [http-bio-7070-exec-28]
> controller.CubeController:516 : Failed to deal with the request:Overwriting
> conflict /cube_desc/cube_0830.json, expect old TS 1504057946524, but it is
> 1504163743354
> >java.lang.IllegalStateException: Overwriting conflict
> /cube_desc/cube_0830.json, expect old TS 1504057946524, but it is
> 1504163743354
> >        at org.apache.kylin.storage.hbase.HBaseResourceStore.
> checkAndPutResourceImpl(HBaseResourceStore.java:315)
> >        at org.apache.kylin.common.persistence.ResourceStore.
> checkAndPutResourceCheckpoint(ResourceStore.java:294)
> >        at org.apache.kylin.common.persistence.ResourceStore.
> putResource(ResourceStore.java:280)
> >        at org.apache.kylin.common.persistence.ResourceStore.
> putResource(ResourceStore.java:260)
> >        at org.apache.kylin.cube.CubeDescManager.updateCubeDesc(
> CubeDescManager.java:380)
> >        at org.apache.kylin.rest.service.CubeService.updateCubeAndDesc(
> CubeService.java:255)
> >        at org.apache.kylin.rest.service.CubeService$$
> FastClassBySpringCGLIB$$17a07c0e.invoke(<generated>)
> >        at org.springframework.cglib.proxy.MethodProxy.invoke(
> MethodProxy.java:204)
> >        at org.springframework.aop.framework.CglibAopProxy$
> CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:720)
> >        at org.springframework.aop.framework.ReflectiveMethodInvocation.
> proceed(ReflectiveMethodInvocation.java:157)
> >        at org.springframework.security.access.intercept.aopalliance.
> MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:68)
> >        at org.springframework.aop.framework.ReflectiveMethodInvocation.
> proceed(ReflectiveMethodInvocation.java:179)
> >        at org.springframework.aop.framework.CglibAopProxy$
> DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:655)
> >        at org.apache.kylin.rest.service.CubeService$$
> EnhancerBySpringCGLIB$$a843c409.updateCubeAndDesc(<generated>)
> >        at org.apache.kylin.rest.controller.CubeController.
> updateCubeDesc(CubeController.java:511)
> >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >        at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:62)
> >        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:43)
> >        at java.lang.reflect.Method.invoke(Method.java:498)
> >
> >
> >
> >apache_dev@163.com
>

Re: Re: Can't edit cube

Posted by "apache_dev@163.com" <ap...@163.com>.
 
   Thinks.

      version:       apache-kylin-2.1.0-bin-hbase1x.tar.gz 
      deployed:   single  .

   



apache_dev@163.com
 
From: ShaoFeng Shi
Date: 2017-09-03 22:31
To: dev
Subject: Re: Can't edit cube
You'd better provide Kylin version, and how it be deployed (single or
clustered).
 
2017-09-03 19:26 GMT+08:00 Li Yang <li...@apache.org>:
 
> As a workaround, you can reload metadata (under System tab) and edit again.
>
> On Thu, Aug 31, 2017 at 3:22 PM, Cheng Wang <ch...@kyligence.io>
> wrote:
>
> > Sometimes it happens because one Kylin instance is used by multi-users.
> > Please make sure there are no others using the Kylin at the same time.
> >
> >
> >
> >
> > On 8/31/17, 3:19 PM, "apache_dev@163.com" <ap...@163.com> wrote:
> >
> > >Hi,
> > >
> > >When edit the exist cube,can't save.Please help see what's the problem?
> > >
> > >Error message:
> > >
> > >
> > >2017-08-31 15:20:08,022 ERROR [http-bio-7070-exec-28]
> > controller.CubeController:516 : Failed to deal with the
> request:Overwriting
> > conflict /cube_desc/cube_0830.json, expect old TS 1504057946524, but it
> is
> > 1504163743354
> > >java.lang.IllegalStateException: Overwriting conflict
> > /cube_desc/cube_0830.json, expect old TS 1504057946524, but it is
> > 1504163743354
> > >        at org.apache.kylin.storage.hbase.HBaseResourceStore.
> > checkAndPutResourceImpl(HBaseResourceStore.java:315)
> > >        at org.apache.kylin.common.persistence.ResourceStore.
> > checkAndPutResourceCheckpoint(ResourceStore.java:294)
> > >        at org.apache.kylin.common.persistence.ResourceStore.
> > putResource(ResourceStore.java:280)
> > >        at org.apache.kylin.common.persistence.ResourceStore.
> > putResource(ResourceStore.java:260)
> > >        at org.apache.kylin.cube.CubeDescManager.updateCubeDesc(
> > CubeDescManager.java:380)
> > >        at org.apache.kylin.rest.service.CubeService.updateCubeAndDesc(
> > CubeService.java:255)
> > >        at org.apache.kylin.rest.service.CubeService$$
> > FastClassBySpringCGLIB$$17a07c0e.invoke(<generated>)
> > >        at org.springframework.cglib.proxy.MethodProxy.invoke(
> > MethodProxy.java:204)
> > >        at org.springframework.aop.framework.CglibAopProxy$
> > CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:720)
> > >        at org.springframework.aop.framework.
> ReflectiveMethodInvocation.
> > proceed(ReflectiveMethodInvocation.java:157)
> > >        at org.springframework.security.access.intercept.aopalliance.
> > MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:68)
> > >        at org.springframework.aop.framework.
> ReflectiveMethodInvocation.
> > proceed(ReflectiveMethodInvocation.java:179)
> > >        at org.springframework.aop.framework.CglibAopProxy$
> > DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:655)
> > >        at org.apache.kylin.rest.service.CubeService$$
> > EnhancerBySpringCGLIB$$a843c409.updateCubeAndDesc(<generated>)
> > >        at org.apache.kylin.rest.controller.CubeController.
> > updateCubeDesc(CubeController.java:511)
> > >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >        at sun.reflect.NativeMethodAccessorImpl.invoke(
> > NativeMethodAccessorImpl.java:62)
> > >        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> > DelegatingMethodAccessorImpl.java:43)
> > >        at java.lang.reflect.Method.invoke(Method.java:498)
> > >
> > >
> > >
> > >apache_dev@163.com
> >
>
 
 
 
-- 
Best regards,
 
Shaofeng Shi 史少锋

Re: Can't edit cube

Posted by ShaoFeng Shi <sh...@apache.org>.
You'd better provide Kylin version, and how it be deployed (single or
clustered).

2017-09-03 19:26 GMT+08:00 Li Yang <li...@apache.org>:

> As a workaround, you can reload metadata (under System tab) and edit again.
>
> On Thu, Aug 31, 2017 at 3:22 PM, Cheng Wang <ch...@kyligence.io>
> wrote:
>
> > Sometimes it happens because one Kylin instance is used by multi-users.
> > Please make sure there are no others using the Kylin at the same time.
> >
> >
> >
> >
> > On 8/31/17, 3:19 PM, "apache_dev@163.com" <ap...@163.com> wrote:
> >
> > >Hi,
> > >
> > >When edit the exist cube,can't save.Please help see what's the problem?
> > >
> > >Error message:
> > >
> > >
> > >2017-08-31 15:20:08,022 ERROR [http-bio-7070-exec-28]
> > controller.CubeController:516 : Failed to deal with the
> request:Overwriting
> > conflict /cube_desc/cube_0830.json, expect old TS 1504057946524, but it
> is
> > 1504163743354
> > >java.lang.IllegalStateException: Overwriting conflict
> > /cube_desc/cube_0830.json, expect old TS 1504057946524, but it is
> > 1504163743354
> > >        at org.apache.kylin.storage.hbase.HBaseResourceStore.
> > checkAndPutResourceImpl(HBaseResourceStore.java:315)
> > >        at org.apache.kylin.common.persistence.ResourceStore.
> > checkAndPutResourceCheckpoint(ResourceStore.java:294)
> > >        at org.apache.kylin.common.persistence.ResourceStore.
> > putResource(ResourceStore.java:280)
> > >        at org.apache.kylin.common.persistence.ResourceStore.
> > putResource(ResourceStore.java:260)
> > >        at org.apache.kylin.cube.CubeDescManager.updateCubeDesc(
> > CubeDescManager.java:380)
> > >        at org.apache.kylin.rest.service.CubeService.updateCubeAndDesc(
> > CubeService.java:255)
> > >        at org.apache.kylin.rest.service.CubeService$$
> > FastClassBySpringCGLIB$$17a07c0e.invoke(<generated>)
> > >        at org.springframework.cglib.proxy.MethodProxy.invoke(
> > MethodProxy.java:204)
> > >        at org.springframework.aop.framework.CglibAopProxy$
> > CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:720)
> > >        at org.springframework.aop.framework.
> ReflectiveMethodInvocation.
> > proceed(ReflectiveMethodInvocation.java:157)
> > >        at org.springframework.security.access.intercept.aopalliance.
> > MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:68)
> > >        at org.springframework.aop.framework.
> ReflectiveMethodInvocation.
> > proceed(ReflectiveMethodInvocation.java:179)
> > >        at org.springframework.aop.framework.CglibAopProxy$
> > DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:655)
> > >        at org.apache.kylin.rest.service.CubeService$$
> > EnhancerBySpringCGLIB$$a843c409.updateCubeAndDesc(<generated>)
> > >        at org.apache.kylin.rest.controller.CubeController.
> > updateCubeDesc(CubeController.java:511)
> > >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >        at sun.reflect.NativeMethodAccessorImpl.invoke(
> > NativeMethodAccessorImpl.java:62)
> > >        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> > DelegatingMethodAccessorImpl.java:43)
> > >        at java.lang.reflect.Method.invoke(Method.java:498)
> > >
> > >
> > >
> > >apache_dev@163.com
> >
>



-- 
Best regards,

Shaofeng Shi 史少锋