java.sql.SQLException: Sort aborted

本文介绍了解决MySQL启动时遇到的缓存配置问题,通过调整sort_buffer_size参数值从256K增加到32M,解决了数据库在启动过程中出现的sort aborted错误。
部署运行你感兴趣的模型镜像

java.sql.SQLException: Sort aborted:

it was a problem with the cache configuration of the mysql

increasing the buffer to a value like this (it was really low, like 256K before) makes the tables load normally on startup

code:
1:
sort_buffer_size = 32M

# This buffer is allocated when MySQL needs to rebuild the index in
# REPAIR, OPTIMZE, ALTER table statements as well as in LOAD DATA INFILE
# into an empty table. It is allocated per thread so be careful with
# large settings.
sort_buffer_size=256K





您可能感兴趣的与本文相关的镜像

Yolo-v8.3

Yolo-v8.3

Yolo

YOLO(You Only Look Once)是一种流行的物体检测和图像分割模型,由华盛顿大学的Joseph Redmon 和Ali Farhadi 开发。 YOLO 于2015 年推出,因其高速和高精度而广受欢迎

[2025-10-13 17:45:14.118] [ERROR] [pool-4-thread-148] [i.t.transporter.executor.subjob.SubJobContainer] >>> [tdt] msg=exec solution sub job error ,exec id 86c98db8-c6d9-4d93-a4a1-ea3bbb59aa13, sub job id e0b4cf6b-d329-4568-aee5-7081ebe491d8error is:errorCode=INCEPTOR_SQL_ERROR, arguments=[] io.transwarp.transporter.common.TransporterGlobalException: errorCode=INCEPTOR_SQL_ERROR, arguments=[] at io.transwarp.transporter.executor.stage.writer.jdbc.JdbcWriter.doWrite(JdbcWriter.java:162) at io.transwarp.transporter.executor.stage.writer.Writer.run(Writer.java:28) at io.transwarp.transporter.executor.subjob.SubJobContainer.run(SubJobContainer.java:89) at io.transwarp.transporter.executor.subjob.SubJobRunner.lambda$start$0(SubJobRunner.java:103) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 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: io.transwarp.transporter.common.TransporterGlobalException: errorCode=INCEPTOR_SQL_ERROR, arguments=[Inceptor SQL Error: Connection: [HikariProxyConnection@1649209042 wrapping com.zaxxer.hikari.pool.ProxyConnection.ClosedConnection] Execute sql: [ INSERT INTO ` default`.`TDT_ROCK_TABLE_7a017d7b255f4347b053ace43799f1aa` SELECT `id`, `real_name`, `user_name`, `password`, `phone`, `id_card`, `gender`, `date_birth`, `nation`, `native_place`, `status`, `user_code`, `data_src`, `sort_num`, `rank_sort`, `app_file_id`, `charge_status`, `user_status`, `origin_user_id`, `pwd_status`, `has_login`, `change_pwd_time`, `office_address`, `create_id`, `update_id`, `create_time`, `update_time`, `deleted`, `email`, `fax_phone`, `fixed_phone`, `job_number`, `user_from`, `user_type`, `origin_user_types`, `origin_user_ids`, `origin_user_type`, `origin_position`, `origin_rank`, `authorized_strength`, `expire_time` from `default`.`TDT_ROCK_VIEW_c0bac3c78c5b45598335665f58f8746d` ]] at io.transwarp.transporter.executor.util.HiveUtil.executeSQLs(HiveUtil.java:189) at io.transwarp.transporter.executor.util.HiveUtil.executeSQLs(HiveUtil.java:161) at io.transwarp.transporter.executor.util.HiveUtil.executeSQLs(HiveUtil.java:151) at io.transwarp.transporter.executor.stage.writer.jdbc.JdbcWriter.doWrite(JdbcWriter.java:160) ... 9 common frames omitted Caused by: java.lang.RuntimeException: java.sql.SQLException: EXECUTION FAILED: Task MAPRED-SPARK error SparkException: [Error 1] Job aborted due to stage failure: Task 0 in stage 1054.0 failed 4 times, most recent failure: Lost task 0.3 in stage 1054.0 (TID 29280, 10.224.55.0, jobId 967, sqlId 2801, sessionId 65): org.apache.hadoop.hive.ql.metadata.HiveException: Got SQLException at io.transwarp.transporter.common.utils.StatsUtils.execute(StatsUtils.java:21) at io.transwarp.transporter.executor.util.HiveUtil.executeSQLs(HiveUtil.java:177) ... 12 common frames omitted Caused by: java.sql.SQLException: EXECUTION FAILED: Task MAPRED-SPARK error SparkException: [Error 1] Job aborted due to stage failure: Task 0 in stage 1054.0 failed 4 times, most recent failure: Lost task 0.3 in stage 1054.0 (TID 29280, 10.224.55.0, jobId 967, sqlId 2801, sessionId 65): org.apache.hadoop.hive.ql.metadata.HiveException: Got SQLException at org.apache.hive.jdbc.Utils.verifySuccess(Utils.java:251) at org.apache.hive.jdbc.Utils.verifySuccessWithInfo(Utils.java:235) at org.apache.hive.jdbc.HiveStatement.execute(HiveStatement.java:546) at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94) at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java) at io.transwarp.transporter.executor.util.HiveUtil.lambda$executeSQLs$2(HiveUtil.java:178) at io.transwarp.transporter.common.utils.StatsUtils.execute(StatsUtils.java:16) ... 13 common frames omitted
10-14
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值