You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Daniel Dai (JIRA)" <ji...@apache.org> on 2014/08/04 21:18:13 UTC

[jira] [Commented] (PIG-4101) Lower tez.am.task.max.failed.attempts to 2 from 4 in Tez mini cluster

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

Daniel Dai commented on PIG-4101:
---------------------------------

+1

> Lower tez.am.task.max.failed.attempts to 2 from 4 in Tez mini cluster
> ---------------------------------------------------------------------
>
>                 Key: PIG-4101
>                 URL: https://issues.apache.org/jira/browse/PIG-4101
>             Project: Pig
>          Issue Type: Sub-task
>          Components: tez
>            Reporter: Cheolsoo Park
>            Assignee: Cheolsoo Park
>             Fix For: 0.14.0
>
>         Attachments: PIG-4101-1.patch
>
>
> Currently, Tez mini cluster tests are slow partly because negative tests are slow. The reason is that Tez retries 4 times before marking the job failed.
> I suggest we should lower the max failed attempts to 2 so that negative tests will fail faster. For example, TestAccumulator runs 30 secs faster with this change-
> {code}
> tez.am.task.max.failed.attempts=2: Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 276.269 sec
> tez.am.task.max.failed.attempts=4: Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 302.772 sec
> {code}
> I am not lowering it to 1 for transient errors.



--
This message was sent by Atlassian JIRA
(v6.2#6252)