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

Remove Java6 specific code from GzipCodec.java

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate 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

        Issue Links

        Activity

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

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment