Srimanth Gunturi created AMBARI-4964:
----------------------------------------
Summary: "hive.tez.container.size" should be in MB and dynamically
calculated
Key: AMBARI-4964
URL: https://issues.apache.org/jira/browse/AMBARI-4964
Project: Ambari
Issue Type: Task
Components: client
Affects Versions: 1.5.0
Reporter: Srimanth Gunturi
Assignee: Srimanth Gunturi
Fix For: 1.5.0
Ambari set the following in {{/etc/hive/conf/hive-site.xml}}
{code}
<property>
<name>hive.tez.container.size</name>
<value>3000000000</value>
</property>
{code}
and the following error was hit when running a query:
{code}
14/03/03 20:20:32 ERROR exec.Task: Failed to execute tez graph.
java.lang.NumberFormatException: For input string: "3000000000"
at
java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:495)
at java.lang.Integer.parseInt(Integer.java:527)
at org.apache.hadoop.conf.Configuration.getInt(Configuration.java:1094)
at org.apache.hadoop.hive.conf.HiveConf.getIntVar(HiveConf.java:1173)
at
org.apache.hadoop.hive.ql.exec.tez.DagUtils.getContainerResource(DagUtils.java:350)
at
org.apache.hadoop.hive.ql.exec.tez.DagUtils.createVertex(DagUtils.java:508)
at
org.apache.hadoop.hive.ql.exec.tez.DagUtils.createVertex(DagUtils.java:850)
at org.apache.hadoop.hive.ql.exec.tez.TezTask.build(TezTask.java:260)
at org.apache.hadoop.hive.ql.exec.tez.TezTask.execute(TezTask.java:144)
at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:153)
at
org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:65)
at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1456)
at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1229)
at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1047)
at org.apache.hadoop.hive.ql.Driver.run(Driver.java:874)
at org.apache.hadoop.hive.ql.Driver.run(Driver.java:864)
at
org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:268)
at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:220)
at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:424)
at
org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:794)
at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:687)
at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:626)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.hadoop.util.RunJar.main(RunJar.java:212)
{code}
Ambari should set the value in MB
--
This message was sent by Atlassian JIRA
(v6.2#6252)