You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Hitesh Shah (JIRA)" <ji...@apache.org> on 2013/06/21 19:52:20 UTC
[jira] [Resolved] (TEZ-248) 0 number of tasks causes Arithmetic
exception
[ https://issues.apache.org/jira/browse/TEZ-248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hitesh Shah resolved TEZ-248.
-----------------------------
Resolution: Duplicate
> 0 number of tasks causes Arithmetic exception
> ---------------------------------------------
>
> Key: TEZ-248
> URL: https://issues.apache.org/jira/browse/TEZ-248
> Project: Apache Tez
> Issue Type: Sub-task
> Reporter: Gunther Hagleitner
> Assignee: Hitesh Shah
>
> When hive queries an empty table it will generate a map vertex with "0 tasks." That's because the splitinfo decides that's the right number. When submitting this here's what Tez sez:
> 2013-06-16 15:42:33,040 DEBUG [AsyncDispatcher event handler] org.apache.tez.dag.app.dag.impl.TaskAttemptImpl: Diagnostics update for attempt_1371421728954_7_1_000001_000000_3: Error: java.lang.ArithmeticException: / by zero
> at org.apache.tez.engine.common.shuffle.impl.Shuffle.run(Shuffle.java:122)
> at org.apache.tez.engine.lib.input.ShuffledMergedInput.initialize(ShuffledMergedInput.java:67)
> at org.apache.tez.mapreduce.processor.reduce.ReduceProcessor.process(ReduceProcessor.java:119)
> at org.apache.tez.engine.task.RuntimeTask.run(RuntimeTask.java:79)
> at org.apache.tez.mapreduce.task.MRRuntimeTask.run(MRRuntimeTask.java:144)
> at org.apache.hadoop.mapred.YarnTezDagChild.runTezTask(YarnTezDagChild.java:334)
> at org.apache.hadoop.mapred.YarnTezDagChild.access$000(YarnTezDagChild.java:76)
> at org.apache.hadoop.mapred.YarnTezDagChild$2.run(YarnTezDagChild.java:178)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.security.auth.Subject.doAs(Subject.java:396)
> at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1477)
> at org.apache.hadoop.mapred.YarnTezDagChild.main(YarnTezDagChild.java:175)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira