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

Fix JDK7 compatibility in branch-2

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.10.0
    • Fix Version/s: 2.10.0
    • Component/s: None
    • Labels:
      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.

      Erik Krogen Konstantin Shvachko Chen Liang

        Attachments

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

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: