Pengcheng Xiong created TEZ-3446:
------------------------------------
Summary: java.lang.IllegalStateException:
tez.task.scale.memory.reserve-fraction is set at the scope of VERTEX, but it is
only valid in the scope of AM
Key: TEZ-3446
URL: https://issues.apache.org/jira/browse/TEZ-3446
Project: Apache Tez
Issue Type: Bug
Affects Versions: 0.8.3
Reporter: Pengcheng Xiong
I ran hive on tez in single node mode. My paths are like this
{code}
export
TEZ_HOME=/Users/pxiong/Projects/runTez/apache-tez-0.8.3-src/tez-dist/target/tez-0.8.3
export TEZ_CONF_DIR=$TEZ_HOME/conf
export
HADOOP_CLASSPATH="$TEZ_HOME/*:$TEZ_CONF_DIR:$TEZ_HOME/lib/*:$HADOOP_CLASSPATH"
{code}
However, I got the following exception:
{code}
2016-09-22T23:59:58,142 ERROR [41fe6a77-2953-485c-b697-68948a42f296 main]
exec.Task: Failed to execute tez graph.
java.lang.IllegalStateException: tez.task.scale.memory.reserve-fraction is set
at the scope of VERTEX, but it is only valid in the scope of AM
at
org.apache.tez.dag.api.TezConfiguration.validateProperty(TezConfiguration.java:1448)
~[tez-api-0.8.3.jar:0.8.3]
at org.apache.tez.dag.api.Vertex.setConf(Vertex.java:429)
~[tez-api-0.8.3.jar:0.8.3]
at org.apache.hadoop.hive.ql.exec.tez.TezTask.build(TezTask.java:398)
~[hive-exec-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT]
at org.apache.hadoop.hive.ql.exec.tez.TezTask.execute(TezTask.java:165)
~[hive-exec-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT]
at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:197)
~[hive-exec-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT]
at
org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:100)
~[hive-exec-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT]
at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1992)
~[hive-exec-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT]
{code}
When I ran MR, it worked. Could someone let me know what I did wrong? Thanks.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)