kylin-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "wangxiaojing (Jira)" <>
Subject [jira] [Created] (KYLIN-4165) RT OLAP building job on "Save Cube Dictionaries" step concurrency error
Date Wed, 11 Sep 2019 07:25:00 GMT
wangxiaojing created KYLIN-4165:

             Summary: RT OLAP building job on "Save Cube Dictionaries" step concurrency error
                 Key: KYLIN-4165
             Project: Kylin
          Issue Type: Bug
          Components: Real-time Streaming
    Affects Versions: v3.0.0-alpha
            Reporter: wangxiaojing

There is a dictionary version conflict in "Save Cube Dictionaries" step when build the realtime
fsegment from remote persisted to reday,Which is very serious,it will lead to unsuccessful
updating of dictionaries by multiple jobs concurrently.This may occurs when a cube has many
concurrent building jobs one the same step ——”Save Cube Dictionaries“ . 
Perhaps a globally distributed lock is needed to avoid one cube concurrency running of this
step .

Save Cube Dictionaries log messages:
// code placeholder
org.apache.kylin.common.persistence.WriteConflictException: Overwriting conflict /dict/DEFAULT.TASK_SNAPSHOT/GROUPVALUE/5387e747-9649-0b17-5a72-ee17f5baea0a.dict,
expect old TS 1568012509090, but it is 1568012509245    at    at
org.apache.kylin.common.persistence.ResourceStore$    at
org.apache.kylin.common.persistence.ExponentialBackoffRetry.doWithRetry(    at
org.apache.kylin.common.persistence.ResourceStore.updateTimestampWithRetry(    at
org.apache.kylin.common.persistence.ResourceStore.updateTimestampCheckPoint(    at
org.apache.kylin.common.persistence.ResourceStore.updateTimestamp(    at
org.apache.kylin.dict.DictionaryManager.updateExistingDictLastModifiedTime(    at
org.apache.kylin.dict.DictionaryManager.trySaveNewDict(    at    at
org.apache.kylin.job.execution.AbstractExecutable.execute(    at
org.apache.kylin.job.execution.DefaultChainedExecutable.doWork(    at
org.apache.kylin.job.execution.AbstractExecutable.execute(    at
org.apache.kylin.job.impl.threadpool.DistributedScheduler$    at
java.util.concurrent.ThreadPoolExecutor.runWorker(    at
java.util.concurrent.ThreadPoolExecutor$    at

This message was sent by Atlassian Jira

View raw message