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

[jira] [Commented] (KYLIN-3524) Clone cube reports "Overwriting conflict /project/learn_kylin.json" error

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

Shaofeng SHI commented on KYLIN-3524:
-------------------------------------

Should be related with KYLIN-3535 which causing the cache flushing not work. After properly configure the "kylin.server.cluster-servers", the problem didn't occur;

> Clone cube reports "Overwriting conflict /project/learn_kylin.json" error
> -------------------------------------------------------------------------
>
>                 Key: KYLIN-3524
>                 URL: https://issues.apache.org/jira/browse/KYLIN-3524
>             Project: Kylin
>          Issue Type: Bug
>          Components: Metadata
>    Affects Versions: v2.5.0
>            Reporter: Shaofeng SHI
>            Priority: Major
>             Fix For: v2.5.0
>
>
> {code:java}
> 53956 2018-09-02 20:25:51,458 INFO [http-bio-7080-exec-4] service.CubeService:218 : New cube kylin_sales_cube_shao2 has 161 cuboids
> 53957 2018-09-02 20:25:51,458 INFO [http-bio-7080-exec-4] cube.CubeManager:225 : Creating cube 'learn_kylin-->kylin_sales_cube_shao2' from desc 'kylin_sales_cube_shao2'
> 53958 2018-09-02 20:25:51,458 INFO [http-bio-7080-exec-4] cube.CubeManager:316 : Updating cube instance 'kylin_sales_cube_shao2'
> 53959 2018-09-02 20:25:51,459 DEBUG [http-bio-7080-exec-4] cachesync.CachedCrudAssist:190 : Saving CubeInstance at /cube/kylin_sales_cube_shao2.json
> 53960 2018-09-02 20:25:51,460 DEBUG [pool-16-thread-1] cachesync.Broadcaster:113 : Servers in the cluster: [localhost:7070]
> 53961 2018-09-02 20:25:51,460 DEBUG [pool-16-thread-1] cachesync.Broadcaster:123 : Announcing new broadcast to all: BroadcastEvent{entity=cube, event=create, cacheKey=kylin_sales_cube_shao2}
> 53962 2018-09-02 20:25:51,461 DEBUG [http-bio-7080-exec-4] cachesync.CachedCrudAssist:190 : Saving ProjectInstance at /project/learn_kylin.json
> 53963 2018-09-02 20:25:51,462 ERROR [http-bio-7080-exec-4] controller.BasicController:62 :
> 53964 org.apache.kylin.common.persistence.WriteConflictException: Overwriting conflict /project/learn_kylin.json, expect old TS 1535685985266, but it is 1535695655000
> 53965 at org.apache.kylin.storage.hbase.HBaseResourceStore.checkAndPutResourceImpl(HBaseResourceStore.java:325)
> 53966 at org.apache.kylin.common.persistence.ResourceStore.checkAndPutResourceCheckpoint(ResourceStore.java:318)
> 53967 at org.apache.kylin.common.persistence.ResourceStore.putResource(ResourceStore.java:303)
> 53968 at org.apache.kylin.common.persistence.ResourceStore.putResource(ResourceStore.java:282)
> 53969 at org.apache.kylin.metadata.cachesync.CachedCrudAssist.save(CachedCrudAssist.java:192)
> 53970 at org.apache.kylin.metadata.project.ProjectManager.save(ProjectManager.java:371)
> 53971 at org.apache.kylin.metadata.project.ProjectManager.addRealizationToProject(ProjectManager.java:283)
> 53972 at org.apache.kylin.metadata.project.ProjectManager.moveRealizationToProject(ProjectManager.java:266)
> 53973 at org.apache.kylin.cube.CubeManager.createCube(CubeManager.java:232)
> 53974 at org.apache.kylin.rest.service.CubeService.createCubeAndDesc(CubeService.java:220)
> 53975 at org.apache.kylin.rest.service.CubeService$$FastClassBySpringCGLIB$$17a07c0e.invoke(<generated>)
> 53976 at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
> 53977 at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:738)
> {code}



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