[ https://issues.apache.org/jira/browse/HDFS-14724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16905386#comment-16905386 ]
He Xiaoqiao edited comment on HDFS-14724 at 8/12/19 5:10 PM: ------------------------------------------------------------- [~jojochuang],[~xkrogen], just check {{HATestUtil}} which is unused import class {{LongAccumulator}} and also {{TimeUnit}}. Should we remove it directly? Please correct me if miss something. was (Author: hexiaoqiao): [~jojochuang],[~xkrogen], just check {{HATestUtil}} which is unused import. Should we remove it directly? Please correct me if miss something. > Fix JDK7 compatibility in branch-2 > ---------------------------------- > > Key: HDFS-14724 > URL: https://issues.apache.org/jira/browse/HDFS-14724 > Project: Hadoop HDFS > Issue Type: Bug > Affects Versions: 2.10.0 > Reporter: Wei-Chiu Chuang > Priority: Blocker > > 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] -- This message was sent by Atlassian JIRA (v7.6.14#76016) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org