A more detailed and important error message is the org.apache.hadoop.mapred.YarnChild:Error running Child:java.lang.OutOfMemoryError:Java heap Space
Say the solution, in fact, this solution process is completely groping.
Set mapreduce.map.java.opts=-xmx1024m
Set mapred.max.split.size=100000000;
Set mapred.min.split.size.per.node=100000000;
Set mapred.min.split.size.per.rack=100000000;
In fact, set the above four parameters, first set the following three parameters, found that can increase the number of maps, and then the number of successful maps, and then simply adjust the first parameter to 1G.
In fact, even if you do not adjust the first parameter, simply set a smaller value for the back of the three parameters, the error should also be resolved, but this I did not try.
The job performed by hive SQL in the map Times java.lang.OutOfMemoryError error