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

时间:2015-12-02 16:16:44   收藏:0   阅读:1122

问题: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

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!