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

Property "io.compression.codec.lzo.class" does not work with other value besides default

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.6.0
    • 2.8.0, 3.0.0-alpha1
    • io
    • Reviewed

    Description

      From following code, seems "io.compression.codec.lzo.class" does not work for other codec besides default. Hadoop will always treat it as defaultClazz. I think it is a bug. Please let me know if this is a work as design thing. Thanks
      77 private static final String defaultClazz =
      78 "org.apache.hadoop.io.compress.LzoCodec";

      82 public synchronized boolean isSupported() {
      83 if (!checked) {
      84 checked = true;
      85 String extClazz =
      86 (conf.get(CONF_LZO_CLASS) == null ? System
      87 .getProperty(CONF_LZO_CLASS) : null);
      88 String clazz = (extClazz != null) ? extClazz : defaultClazz;

      Attachments

        1. HADOOP-11418.005.patch
          3 kB
          Akira Ajisaka
        2. HADOOP-11418.006.patch
          3 kB
          Akira Ajisaka
        3. HADOOP-11418.patch
          0.9 kB
          fang fang chen
        4. HADOOP-11418-004.patch
          3 kB
          Akira Ajisaka
        5. HADOOP-11418-1.patch
          1 kB
          fang fang chen
        6. HADOOP-11418-2.patch
          1 kB
          fang fang chen
        7. HADOOP-11418-3.patch
          1 kB
          fang fang chen

        Issue Links

          Activity

            People

              yuanbo Yuanbo Liu
              fang fang chen fang fang chen
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: