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

disable optimizations via pig properties

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.12.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Release Note:
      Hide
      Optimization rules can be disabled with the "pig.optimizer.rules.disabled" pig property, allowing scripts to disable optimizations themselves. As in prior release, optimizations may still be disabled with the "optimizer_off" command-line option.
      Show
      Optimization rules can be disabled with the "pig.optimizer.rules.disabled" pig property, allowing scripts to disable optimizations themselves. As in prior release, optimizations may still be disabled with the "optimizer_off" command-line option.

      Description

      Pig provides a number of optimizations which are described at http://pig.apache.org/docs/r0.11.1/perf.html#optimization-rules. As is described in the docs, all or specific optimizations can be disabled via the command-line.

      Currently the caller of a pig script must know which optimizations to disable when running because that information cannot be set in the script itself. Nor can optimizations be disabled site-wide through pig.properties.

      Pig should allow disabling optimizations via properties so that pig scripts themselves can disable optimizations as needed, rather than the caller needing to know what optimizations to disable on the command-line.

        Attachments

        1. PIG-3317_disable_opts.4.patch
          17 kB
          Travis Crawford
        2. PIG-3317_disable_opts.3.patch
          17 kB
          Travis Crawford
        3. PIG-3317_disable_opts.2.patch
          14 kB
          Travis Crawford
        4. PIG-3317_disable_opts.1.patch
          9 kB
          Travis Crawford

          Activity

            People

            • Assignee:
              traviscrawford Travis Crawford
              Reporter:
              traviscrawford Travis Crawford
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: