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

Remove Java6 specific code from GzipCodec.java

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment