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

Remove Java6 specific code from GzipCodec.java

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.9.0, 3.0.0-alpha4
    • None

    Description

      GzipCodec has Java 6 specific code and it can be removed.

      GzipCodec.java
            public static final String JVMVersion= System.getProperty("java.version");
            private static final boolean HAS_BROKEN_FINISH =
                (IBM_JAVA && JVMVersion.contains("1.6.0"));
      

      Hadoop 2.7+ dropped Java 6 support.

      Attachments

        1. HDFS-14097.001.patch
          3 kB
          Marton Elek

        Issue Links

          Activity

            People

              elek Marton Elek
              aajisaka Akira Ajisaka
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: