Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-9216

CompressionCodecFactory#getCodecClasses should trim the result of parsing by Configuration.

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.3-alpha, 0.23.6, 3.0.0-alpha1
    • Fix Version/s: 2.0.3-alpha, 0.23.7
    • Component/s: io
    • Labels:
      None

      Description

      CompressionCodecFactory#getCodecClasses doesn't trim its input.
      This can confuse users of CompressionCodecFactory. For example, The setting as follows can cause error because of spaces in the values.

      conf.set("io.compression.codecs",
      " org.apache.hadoop.io.compress.GzipCodec , " +
      " org.apache.hadoop.io.compress.DefaultCodec , " +
      "org.apache.hadoop.io.compress.BZip2Codec ");

      This ticket deals with this problem.

        Attachments

          Activity

            People

            • Assignee:
              ozawa Tsuyoshi Ozawa
              Reporter:
              ozawa Tsuyoshi Ozawa
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: