码迷,mamicode.com
首页 > 数据库 > 详细

mysql通过sqoop导入到hbase中时数据量为1000w时出现Incorrect key file for table '/tmp/#sql_458_0.MYI'; try to repair it

时间:2015-12-02 16:16:44      阅读:1122      评论:0      收藏:0      [点我收藏+]

标签:

问题:mysql通过sqoop导入到hbase中时数据量为1000w时出现Incorrect key file for table ‘/tmp/#sql_458_0.MYI‘; try to repair it,数据量为100w等时没该问题

分析:出现该问题时因为mysql的临时目录(默认为/tmp)太小

解决方法:参考:http://blog.sina.com.cn/s/blog_4c197d420101bdn9.html

mysql通过sqoop导入到hbase中时数据量为1000w时出现Incorrect key file for table '/tmp/#sql_458_0.MYI'; try to repair it

标签:

原文地址:http://www.cnblogs.com/xiaomila-study/p/5013183.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!