Rajesh Balamohan created TEZ-1836:
-------------------------------------
Summary: Provide better error messages when tez.runtime.io.sort.mb
is wrongly configured
Key: TEZ-1836
URL: https://issues.apache.org/jira/browse/TEZ-1836
Project: Apache Tez
Issue Type: Bug
Reporter: Rajesh Balamohan
For tez.runtime.io.sort.mb=3000, following error message is thrown
>>>
info=[Error: Failure while running task:java.lang.RuntimeException:
java.io.IOException: Invalid "tez.runtime.io.sort.mb": 3000
>>>
This should mention the range of valid configuration for
"tez.runtime.io.sort.mb"
For tez.runtime.io.sort.mb=0, following error message is thrown
>>>>
info=[Error: Failure while running task:java.lang.IllegalArgumentException:
io.sort.mb should be larger than 0
at
com.google.common.base.Preconditions.checkArgument(Preconditions.java:88)
at
org.apache.tez.runtime.library.common.sort.impl.ExternalSorter.getInitialMemoryRequirement(ExternalSorter.java:289)
>>>>
This should mention "tez.runtime.io.sort.mb" and not "io.sort.mb".
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)