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

Provide support for LazyOutputFormat to avoid creating empty files

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.11.1
    • 0.13.0
    • None
    • None
    • Reviewed
    • With this patch, the bundled Hadoop bump up to 1.0.4.

    Description

      LazyOutputFormat (HADOOP-4927) in hadoop is a wrapper to avoid creating part files if there is no records output. It would be good to add support for that by having a configuration in pig which wraps storeFunc.getOutputFormat() with LazyOutputFormat.

      Attachments

        1. PIG-3299.patch
          7 kB
          Lorand Bendig
        2. PIG-3299-2.patch
          8 kB
          Daniel Dai
        3. PIG-3299-3.patch
          9 kB
          Lorand Bendig
        4. PIG-3299-4.patch
          9 kB
          Daniel Dai

        Issue Links

          Activity

            People

              lbendig Lorand Bendig
              rohini Rohini Palaniswamy
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: