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

mapred.output.compress in SET statement does not work

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: 0.9.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Setting output compression using "SET" in the script does not work:
      SET mapred.output.compress true;
      SET mapred.output.compression.codec org.apache.hadoop.io.compress.GzipCodec;

      We did some trick to make individual compression setting for multistore work. Instead of the above parameter, using the following works:
      SET output.compression.enabled true;
      SET output.compression.codec org.apache.hadoop.io.compress.GzipCodec;

      However, this is against intuition. We should use mapred.output.compress/mapred.output.compression.codec.

        Attachments

        1. PIG-1814-1.patch
          5 kB
          Daniel Dai

          Issue Links

            Activity

              People

              • Assignee:
                daijy Daniel Dai
                Reporter:
                daijy Daniel Dai
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: