| 本帖最后由 smt46SA5M21287STZ2 于 2025-6-10 08:30 编辑 
 
 数据模型抽取失败。 
 数据模型每隔一个月就会发生抽取报错的现象,该如何解决呢? 
 create time: 2025-06-06 08:51:18extract param:{"paramValues":{"$$extractInfo$$":{"value":{"extractType":"FULL","incrementalType":null,"incrementalRows":null,"incrementalRowIndexs":null,"fieldIdMapping":null,"formatMapping":null,"clearBeforeExtract":true,"extractCurrentDay":false,"reExtractInterval":0,"reExtractTimeUnit":null,"dbType":null,"srcCsvPaths":null,"lastExtractType":"FULL","lastIncrementalType":null,"lastIncrementalRows":[],"lastSelectAllSql":null,"failModel":"CONTINUE","rejectMaxRecord":2147483647,"rejectRecordFile":"","rejectReasonFile":"","realExtractType":"FULL","logSelectAllSql":null,"lastExtractState":true,"keepRejectRecord":true,"keepRejectReason":true},"displayValue":null,"noValue":false}},"offset":0,"limit":9223372036854775807,"sample":false,"userName":null,"cacheIdentity":"null09223372036854775807false$$extractInfo$$smartbix.augmenteddataset.extract.save2csv.ExtractInfo@2e6f5bd1null","extract":false}/nsmartbix.augmenteddataset.extract.SmartbiXException: 抽取未完成或抽取失败: delete SmartbiCache tableFail:drop table if exists `smartbimpp`.`xniiwwq5jahwiajqitfla` ON CLUSTER `smartbi_cluster_1S_2R` SYNC
 smartbix.SmartbiXException: SQL错误: drop table if exists `smartbimpp`.`xniiwwq5jahwiajqitfla` ON CLUSTER `smartbi_cluster_1S_2R` SYNC  -> ClickHouse exception, code: 1002, host: 10.36.21.153, port: 8088; Code: 999. Coordination::Exception: Connection loss, path: /clickhouse/task_queue/ddl/query-0000623273: While executing DDLQueryStatus. (KEEPER_EXCEPTION) (version 22.8.5.29 (official build))
 
 at smartbix.SmartbiXException.create(SmartbiXException.java:68)
 at smartbix.smartbi.service.GridDataServiceHandler.handle(GridDataServiceHandler.java:118)
 at sun.reflect.GeneratedMethodAccessor607.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:498)
 at smartbixlibs.org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:634)
 at smartbixlibs.org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:624)
 at smartbixlibs.org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:72)
 at smartbixlibs.org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
 at smartbixlibs.org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:762)
 at smartbixlibs.org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
 at smartbixlibs.org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
 at smartbixlibs.org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:762)
 at smartbixlibs.org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:707)
 at smartbix.dataprocess.service.DatabaseResultService$$EnhancerBySpringCGLIB$$498909bf.executeDmlSql()
 at smartbix.augmenteddataset.repository.service.AugmentedDatabaseResultService.executeDmlSql(AugmentedDatabaseResultService.java:53)
 at smartbix.augmenteddataset.extract.save2csv.SmartbiCacheExtractor.createTargetTable(SmartbiCacheExtractor.java:1538)
 at smartbix.augmenteddataset.extract.save2csv.SmartbiCacheExtractor.extractDbTable(SmartbiCacheExtractor.java:672)
 at smartbix.augmenteddataset.extract.save2csv.SmartbiCacheExtractor.export(SmartbiCacheExtractor.java:300)
 at smartbix.augmenteddataset.extract.SingleThreadedExtractor.extractextractInternal(SingleThreadedExtractor.java:469)
 at smartbix.augmenteddataset.extract.SingleThreadedExtractor.access$1500(SingleThreadedExtractor.java:94)
 at smartbix.augmenteddataset.extract.SingleThreadedExtractor$2.call(SingleThreadedExtractor.java:382)
 at smartbix.augmenteddataset.extract.SingleThreadedExtractor$2.call(SingleThreadedExtractor.java:366)
 at smartbix.augmenteddataset.extract.ExtractTaskWrapper.call(ExtractTaskWrapper.java:40)
 at smartbix.util.ThreadUtil$SubmitRunnable.call(ThreadUtil.java:220)
 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
 at java.lang.Thread.run(Thread.java:748)
 Caused by: ru.yandex.clickhouse.except.ClickHouseUnknownException: ClickHouse exception, code: 1002, host: 10.36.21.153, port: 8088; Code: 999. Coordination::Exception: Connection loss, path: /clickhouse/task_queue/ddl/query-0000623273: While executing DDLQueryStatus. (KEEPER_EXCEPTION) (version 22.8.5.29 (official build))
 
 at ru.yandex.clickhouse.except.ClickHouseExceptionSpecifier.getException(ClickHouseExceptionSpecifier.java:92)
 at ru.yandex.clickhouse.except.ClickHouseExceptionSpecifier.specify(ClickHouseExceptionSpecifier.java:56)
 at ru.yandex.clickhouse.except.ClickHouseExceptionSpecifier.specify(ClickHouseExceptionSpecifier.java:29)
 at ru.yandex.clickhouse.ClickHouseStatementImpl.checkForErrorAndThrow(ClickHouseStatementImpl.java:1099)
 at ru.yandex.clickhouse.ClickHouseStatementImpl.getInputStream(ClickHouseStatementImpl.java:778)
 at ru.yandex.clickhouse.ClickHouseStatementImpl.getLastInputStream(ClickHouseStatementImpl.java:692)
 at ru.yandex.clickhouse.ClickHouseStatementImpl.executeUpdate(ClickHouseStatementImpl.java:434)
 at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
 at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
 at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
 at smartbix.dataprocess.service.DatabaseResultService.executeDmlSql(DatabaseResultService.java:468)
 at smartbix.dataprocess.service.DatabaseResultService$$FastClassBySpringCGLIB$$7e915f15.invoke()
 at smartbixlibs.org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
 at smartbixlibs.org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:792)
 at smartbixlibs.org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
 at smartbixlibs.org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:762)
 at smartbixlibs.org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:102)
 at smartbix.smartbi.service.GridDataServiceHandler.handle(GridDataServiceHandler.java:93)
 ... 27 more
 Caused by: java.lang.Throwable: Code: 999. Coordination::Exception: Connection loss, path: /clickhouse/task_queue/ddl/query-0000623273: While executing DDLQueryStatus. (KEEPER_EXCEPTION) (version 22.8.5.29 (official build))
 
 at ru.yandex.clickhouse.except.ClickHouseExceptionSpecifier.specify(ClickHouseExceptionSpecifier.java:54)
 ... 43 more
 
 at smartbix.augmenteddataset.extract.SmartbiXException.create(SmartbiXException.java:24)
 at smartbix.augmenteddataset.extract.SingleThreadedExtractor.extractextractInternal(SingleThreadedExtractor.java:477)
 at smartbix.augmenteddataset.extract.SingleThreadedExtractor.access$1500(SingleThreadedExtractor.java:94)
 at smartbix.augmenteddataset.extract.SingleThreadedExtractor$2.call(SingleThreadedExtractor.java:382)
 at smartbix.augmenteddataset.extract.SingleThreadedExtractor$2.call(SingleThreadedExtractor.java:366)
 at smartbix.augmenteddataset.extract.ExtractTaskWrapper.call(ExtractTaskWrapper.java:40)
 at smartbix.util.ThreadUtil$SubmitRunnable.call(ThreadUtil.java:220)
 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
 at java.lang.Thread.run(Thread.java:748)
 
 |