首页 > 数据库技术 > 详细

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

时间:2015-12-02 16:16:32      阅读:409      评论: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
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!