[ 
https://issues.apache.org/jira/browse/HBASE-25472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17260297#comment-17260297
 ] 

Viraj Jasani commented on HBASE-25472:
--------------------------------------

[~weichiu] I think this is taken care of by 
[https://github.com/apache/hbase/commit/73d079eb67abdded404e0438eb75d2c4b1264644]

JDK7 nightly report seems fine, mvninstall is green: 
https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/branch-1/73/JDK7_20Nightly_20Build_20Report/

> HBASE-24260 breaks JDK7 compilation in branch-1
> -----------------------------------------------
>
>                 Key: HBASE-25472
>                 URL: https://issues.apache.org/jira/browse/HBASE-25472
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Wei-Chiu Chuang
>            Priority: Blocker
>
> Found in PR-2799. 
> {code}
> public static String getZKQuorum(Configuration conf) {
>     String port =
>       Integer.toString(conf.getInt(HConstants.ZOOKEEPER_CLIENT_PORT, 2181));
>     String[] serverHosts = conf.getStrings(HConstants.ZOOKEEPER_QUORUM, 
> "localhost");
>     for (int i = 0; i < serverHosts.length; i++) {
>       serverHosts[i] = serverHosts[i] + ":" + port;
>     }
>     return String.join(",", serverHosts);
>   }
> {code}
> Fails to compile 
> {quote}
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile 
> (default-compile) on project hbase-it: Compilation failure
> [ERROR] 
> /home/jenkins/jenkins-home/workspace/Base-PreCommit-GitHub-PR_PR-2799/src/hbase-it/src/main/java/org/apache/hadoop/hbase/chaos/ChaosUtils.java:[46,18]
>  cannot find symbol
> [ERROR] symbol:   method join(java.lang.String,java.lang.String[])
> [ERROR] location: class java.lang.String
> {quote}
> because String.join() is only available since JDK8.
> CC: [~lokiore] [~ndimiduk]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to