-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Description
doris version:3.0.7
When I execute
INSERT OVERWRITE TABLE internal.ads.table_name (
field_1,
field_2
)
SELECT
field_1,
field_2
FROM hive.ads.table_name
there is a chance that an error will occur:
2025-09-17 10:12:05,638 INFO (cloud tablet rebalancer|348) [CloudTabletRebalancer.globalBalance():406] after global balance be 1754659081155 tablet num(current + pre heating inflight) 84
2025-09-17 10:12:05,638 INFO (cloud tablet rebalancer|348) [CloudTabletRebalancer.runAfterCatalogReady():254] finished to rebalancer. cost: 12 ms
2025-09-17 10:12:06,176 INFO (Statistics Job Appender|348) [ConnectContext.getCloudCluster():1335] finally set context compute group name defaultComputeGroup for user 'admin'@'%' with chose way 'authorized cluster'
2025-09-17 10:12:06,275 WARN (thrift-server-pool-113|348) [CloudInternalCatalog.preparePartition():479] preparePartition response: status {
code: KV_TXN_COMMIT_ERR
msg: "failed to commit txn: MaybeCommitted"
}
2025-09-17 10:12:06,275 WARN (thrift-server-pool-113|348) [InsertOverwriteTableCommand.run():222] insert into overwrite failed with task(or group) id 1757751959967
2025-09-17 10:12:06,275 INFO (thrift-server-pool-113|348) [InsertOverwriteManager.taskFail():214] insert overwrite task [1757751959967] failed
2025-09-17 10:12:06,275 INFO (thrift-server-pool-113|348) [InsertOverwriteManager.removeTask():260] remove insert overwrite task: InsertOverwriteTask{cancel=false, dbId=1754661298419, tableId=1754661299534, tempPartitionNames=[iot_temp_15119_ads_order_detail_df]}
2025-09-17 10:12:06,285 WARN (thrift-server-pool-113|348) [StmtExecutor.execute():617] Analyze failed. stmt[189260, f070f87a70414ecb-a9c353cb51069212]
org.apache.doris.common.NereidsException: errCode = 2, detailMessage = Failed to ADD PARTITION iot_temp_15119_ads_order_detail_df LIKE ads_order_detail_df. Reason: errCode = 2, detailMessage = failed to commit txn: MaybeCommitted
at org.apache.doris.qe.StmtExecutor.executeByNereids(StmtExecutor.java:781) ~[doris-fe.jar:1.2-SNAPSHOT]
at org.apache.doris.qe.StmtExecutor.execute(StmtExecutor.java:602) ~[doris-fe.jar:1.2-SNAPSHOT]
at org.apache.doris.qe.StmtExecutor.queryRetry(StmtExecutor.java:564) ~[doris-fe.jar:1.2-SNAPSHOT]
at org.apache.doris.qe.ConnectProcessor.proxyExecute(ConnectProcessor.java:751) ~[doris-fe.jar:1.2-SNAPSHOT]
at org.apache.doris.service.FrontendServiceImpl.forward(FrontendServiceImpl.java:1161) ~[doris-fe.jar:1.2-SNAPSHOT]
at jdk.internal.reflect.GeneratedMethodAccessor119.invoke(Unknown Source) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
at org.apache.doris.service.FeServer.lambda$start$0(FeServer.java:60) ~[doris-fe.jar:1.2-SNAPSHOT]
at jdk.proxy2.$Proxy46.forward(Unknown Source) ~[?:?]