配置过max_allowed_packet依然 Error Chunking during uploading files to db..
Posted lshao
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了配置过max_allowed_packet依然 Error Chunking during uploading files to db..相关的知识,希望对你有一定的参考价值。
mysql配置问题,导致上传azkaban上传包时出现
installation Failed
Error Chunking during uploading files to db..
已经设置过max_allowed_packet了
mysql> show variables like ‘max_allowed_packet‘;
+--------------------+------------+
| Variable_name | Value |
+--------------------+------------+
| max_allowed_packet | 1073741824 |
+--------------------+------------+
1 row in set (0.00 sec)
innodb 引擎还需设置innodb_log_file_size,这个值默认50m
最终的my.cnf配置如下
1 [mysqld]
2 datadir=/home/homework/shaofengfeng/az/mysql/mysql/data
3 socket=/home/homework/shaofengfeng/az/mysql/mysql/run/mysql.sock
4 max_allowed_packet=1024M
5 innodb_log_file_size=1024M
参考资料
https://github.com/azkaban/azkaban/issues/32
以上是关于配置过max_allowed_packet依然 Error Chunking during uploading files to db..的主要内容,如果未能解决你的问题,请参考以下文章
mysql max_allowed_packet 设置过小导致记录写入失败
mysql max_allowed_packet 设置过小导致记录写入失败