Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-14724

Fix JDK7 compatibility in branch-2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.10.0
    • 2.10.0
    • None
    • None

    Description

      With the feature Consistent Read from Standby now in branch-2, I found it breaks the build when building with JDK7, because it uses java.util.concurrent.atomic.LongAccumulator which is only in JDK8 and above.

       

      We should figure out if we want to fix it, or give up JDK7 compatibility.

      xkrogen shv vagarychen

      Attachments

        1. HDFS-14724-branch-2.001.patch
          0.8 kB
          Chen Liang

        Issue Links

          Activity

            People

              vagarychen Chen Liang
              weichiu Wei-Chiu Chuang
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: