解决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