kylin-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jiatao.tao (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (KYLIN-3562) TS conflict when kylin update metadata in HBase
Date Tue, 25 Sep 2018 11:29:00 GMT

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

jiatao.tao edited comment on KYLIN-3562 at 9/25/18 11:28 AM:
-------------------------------------------------------------

[~baibaichen] [~chitin] As a workaround, I think [~yichen.zhou]'s solution really work. 
Try both
{code:java}
 $KYLIN_HOME/bin/metastore.sh remove /user/admin
{code}

{code:java}
 $KYLIN_HOME/bin/metastore.sh remove /user/ADMIN
{code}

or just run this(will remove all users):
{code:java}
 $KYLIN_HOME/bin/metastore.sh remove /user
{code}


was (Author: aron.tao):
[~baibaichen] [~chitin] As a workaround, I think [~yichen.zhou]'s solution really work. 
Try both
{code:java}
 $KYLIN_HOME/bin/metastore.sh remove /user/ADMIN
{code}

{code:java}
 $KYLIN_HOME/bin/metastore.sh remove /user/admin
{code}

or 
{code:java}
 $KYLIN_HOME/bin/metastore.sh remove /user
{code}

but this will remove all users.

> TS conflict when kylin update metadata in HBase
> -----------------------------------------------
>
>                 Key: KYLIN-3562
>                 URL: https://issues.apache.org/jira/browse/KYLIN-3562
>             Project: Kylin
>          Issue Type: Bug
>    Affects Versions: v2.4.0
>            Reporter: Lingang Deng
>            Priority: Major
>         Attachments: image-2018-09-17-16-40-56-212.png, image-2018-09-25-15-03-51-009.png,
image-2018-09-25-16-43-50-277.png
>
>
> Error log was as follows,
> {code:java}
> org.apache.kylin.common.persistence.WriteConflictException: Overwriting conflict /user/admin,
expect old TS 1536928877043, but it is 1536928907207
>          at org.apache.kylin.storage.hbase.HBaseResourceStore.checkAndPutResourceImpl(HBaseResourceStore.java:325)
>          at org.apache.kylin.common.persistence.ResourceStore.checkAndPutResourceCheckpoint(ResourceStore.java:318)
>          at org.apache.kylin.common.persistence.ResourceStore.putResource(ResourceStore.java:303)
>          at org.apache.kylin.common.persistence.ResourceStore.putResource(ResourceStore.java:282)
>          at org.apache.kylin.metadata.cachesync.CachedCrudAssist.save(CachedCrudAssist.java:192){code}
>  
> what disturbs me the most was that the error was happened several hours,  then my all
build job and query job failed.



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

Mime
View raw message