(hive) Execution Error, return code -101 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask解决方案

解决bug思路:

出现这个问题说明你的mapreduce.input.fileinputformat.split.maxsize设置的太小了

解决方案:hive (default)> set mapreduce.input.fileinputformat.split.maxsize=。。。。;设置最大切片值为。。。个字节

这个数取决于你的文件大小,假设下:你的文件50M,你就把set mapreduce.input.fileinputformat.split.maxsize=10240000 大约10M的大小差不多

想了解具体情况(数据倾斜)请查看https://blog.csdn.net/WJWFighting/article/details/81666320

猜你喜欢

转载自blog.csdn.net/WJWFighting/article/details/81670707
今日推荐