When hive processes data, it cannot run directly and reports an error: execution error, return code 2 from org.apache.hadoop.hive.ql.exec.mr

terms of settlement:

set hive.exec.mode.local.auto=true;


Error reason:

The memory space of the namenode is not enough, and the remaining memory space of the JVM is not enough, which is caused by the operation of a new job


Reference link: https://www.it610.com/article/1297818114901221376.htm


Similar Posts: