Hadoop Common
  1. Hadoop Common
  2. HADOOP-7993

Hadoop ignores old-style config options for enabling compressed output

    Details

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

      Description

      Hadoop seems to ignore the config options even though they are printed as deprecation warnings in the log: mapred.output.compress and
      mapred.output.compression.codec

      • settings that work on 0.20 but not on 0.23
        mapred.output.compress=true
        mapred.output.compression.codec=org.apache.hadoop.io.compress.BZip2Codec
      • settings that work on 0.23
        mapreduce.output.fileoutputformat.compress=true
        mapreduce.output.fileoutputformat.compress.codec=org.apache.hadoop.io.compress.BZip2Codec

      This breaks backwards compatibility and causes existing jobs to fail.

      This was found to happen due to the JobSubmitter writing out the job.xml file with the old-style configs and can be fixed by handdling deprecation before the file is written out.

      1. HADOOP-7993_branch_0_23.patch
        3 kB
        Anupam Seth
      2. HADOOP-7993_branch_0_23.patch
        3 kB
        Anupam Seth

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Anupam Seth
              Reporter:
              Anupam Seth
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development