Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-3840 Umbrella jira for Pig on Tez Unit Test porting
  3. PIG-4101

Lower tez.am.task.max.failed.attempts to 2 from 4 in Tez mini cluster

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.14.0
    • tez
    • None

    Description

      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-

      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
      

      I am not lowering it to 1 for transient errors.

      Attachments

        1. PIG-4101-1.patch
          0.9 kB
          Cheolsoo Park

        Activity

          People

            cheolsoo Cheolsoo Park
            cheolsoo Cheolsoo Park
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: