六月下旬全新资源上线!丨 解锁高效能实战方案

更新亮点:本次新增5大专题9项资源,点击标题5分钟极速了解!参与互动赢取麦豆,解锁更多内容)

一、实战技巧分享

即席/透视的逆袭之路:从卡顿到秒出→ 性能优化实战,实现报表秒级响应!

体验中心焕新一“夏”,全新导览页及新DEMO上线!→ 抢先体验夏季更新DEMO!

速看!明细/汇总/交叉表的实现秘籍→ 高效构建复杂报表指南

二、开发技能突破

视频课《仪表盘图片鼠标提示几行代码,让你的仪表盘“会说话”!

视频课《仪表盘宏开发技巧→ 解锁宏开发技巧和注意事项

三、直播上线

直播《交互式仪表盘最佳实践解锁可视化大屏最佳实践技巧

四、AI每日一学

人工智能三驾马车:算法、算力与数据→ 深度解析AI核心支柱

通俗的讲一下神经网络模型的基本组成、工作原理、工作类型和生活应用场景→ 从基础到场景实战

五、资源上新

插件《安全检测→ 一键加固系统安全防护

麦粉社区
>
帖子详情

数据模型抽取失败

其它 发表于 2025-6-6 09:39
发表于 2025-6-6 09:39:05
本帖最后由 smt46SA5M21287STZ2 于 2025-6-10 08:30 编辑

数据模型抽取失败。


数据模型每隔一个月就会发生抽取报错的现象,该如何解决呢?


create time: 2025-06-06 08:51:18
extract 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)
发表于 2025-6-6 14:22:30
这个看着有连接断开?有没有更完整的日志

回复

使用道具 举报

高级模式
B Color Image Link Quote Code Smilies
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

4回帖数 0关注人数 129浏览人数
最后回复于:2025-6-6 14:22
快速回复 返回顶部 返回列表