Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-4523

Tez engine should use tez config rather than mr config whenever possible

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.15.0
    • tez
    • None
    • Reviewed

    Description

      Currently, Pig on tez use memory/heap setting from MR not tez, but respect other tez settings. In the environment which MR and tez settings are not aligned, this could be a problem. For a specific scenario, user increase both tez both memory settings and io.sort.mb to tune tez performance, but MR settings retains. Pig on Tez get increased io.sort.mb but same vertex memory, end up with OOM exception.

      I think tez engine shall respect Tez settings first, unless user really want to use mr settings for backward compatibility. It can be:
      1. a flag which turn on the mr settings for tez
      2. If the mr memory settings are from Pig script not the config file

      Attachments

        1. PIG-4523-2.patch
          3 kB
          Daniel Dai
        2. PIG-4523-1.patch
          3 kB
          Daniel Dai

        Activity

          People

            daijy Daniel Dai
            daijy Daniel Dai
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: