错误信息: Container [pid=64555,containerID=container_1563447435119_3196879_01_000107] is running beyond physical memory limits. Current usage: 3.4 GB of 3 GB physical memory used; 5.2 GB of 12.6 GB virtual memory used. Killing container. Dump of the process-tree for container_1563447435119_3196879_01_000107
解决方案: set mapreduce.map.memory.mb=8192;调整map的大小 set mapreduce.map.java.opts="-Xmx4096m\ -Xms512m\ -XX:+UseG1GC\ -XX:+PrintFlagsFinal\ -XX:+PrintReferenceGC\ -verbose:gc\ -XX:+PrintGCDetails\ -XX:+PrintGCTimeStamps\ -XX:+PrintAdaptiveSizePolicy\ -XX:+UnlockDiagnosticVMOptions\ -XX:+G1SummarizeConcMark\ -XX:InitiatingHeapOccupancyPercent=35\ -XX:+HeapDumpOnOutOfMemoryError";