You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Siddharth Seth (JIRA)" <ji...@apache.org> on 2014/12/16 22:49:14 UTC

[jira] [Comment Edited] (TEZ-1836) Provide better error messages when tez.runtime.io.sort.mb is wrongly configured

    [ https://issues.apache.org/jira/browse/TEZ-1836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14249020#comment-14249020 ] 

Siddharth Seth edited comment on TEZ-1836 at 12/16/14 9:49 PM:
---------------------------------------------------------------

The modification broke the test (i.e. removing all references to spillPer in PipelineSorter - .3.2). Fixing this via a new jira.


was (Author: sseth):
The modification broke the test. Fixing this via a new jira.

> 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
>            Assignee: Vasanth kumar RJ
>             Fix For: 0.5.4
>
>         Attachments: TEZ-1836.1.patch, TEZ-1836.2.patch, TEZ-1836.3.2.txt, TEZ-1836.3.patch
>
>
> 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" (1 to 2047)
> 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)