【发布时间】:2016-10-26 01:45:54
【问题描述】:
我一直在使用 hive 1.0 和 tez 0.8 的 aws emr 4.8 集群上运行一些 hive 脚本。
我的配置如下所示:
SET hive.exec.compress.output=true;
SET mapred.output.compression.type=BLOCK;
SET hive.exec.dynamic.partition = true;
SET hive.exec.dynamic.partition.mode = nonstrict;
set hive.execution.engine=tez;
set hive.merge.mapfiles=false;
SET hive.default.fileformat=Orc;
set tez.task.resource.memory.mb=5000;
SET hive.tez.container.size=6656;
SET hive.tez.java.opts=-Xmx5120m;
set hive.optimize.ppd=true;
我的全局配置是:
hadoop-env.export HADOOP_HEAPSIZE 4750
hadoop-env.export HADOOP_DATANODE_HEAPSIZE 4750
hive-env.export HADOOP_HEAPSIZE 4750
在运行我的脚本时,我收到以下错误:
Container [pid=19027,containerID=container_1477393351192_0007_02_000001] is running beyond physical memory limits. Current usage: 1.0 GB of 1 GB physical memory used; 1.9 GB of 5 GB virtual memory used. Killing container.
在谷歌上搜索这个错误时,我读到 set tez.task.resource.memory.mb 会改变物理内存限制,但显然我错了。我错过了什么?
【问题讨论】:
标签: hadoop hive amazon-emr apache-tez tez