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

Should be able to set job priority through Pig Latin

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.4.0
    • 0.6.0
    • grunt
    • None

    Description

      Currently users can set the job name through Pig Latin by saying

      set job.name 'my job name'

      The ability to set the priority would also be nice, and the patch should be small. The goal is to be able to say

      set job.priority 'high'

      and throw a JobCreationException in the JobControlCompiler if the priority is not one of the allowed string values from the o.a.h.mapred.JobPriority enum: very_low, low, normal, high, very_high. Case insensitivity makes this a little nicer.

      Attachments

        1. PIG-1025.patch
          5 kB
          Kevin Weil
        2. PIG-1025_2.patch
          6 kB
          Kevin Weil
        3. TEST-org.apache.pig.test.TestFRJoin.txt
          1.19 MB
          Alan Gates

        Activity

          People

            kevinweil Kevin Weil
            kevinweil Kevin Weil
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: