The job performed by hive SQL in the map Times java.lang.OutOfMemoryError error

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.