[ https://issues.apache.org/jira/browse/HBASE-17425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thiruvel Thirumoolan reopened HBASE-17425: ------------------------------------------ [~Jan Hentschel], Looks like HbaseTestingUtil.getAdmin() API is only in 2.x and should not be pushed to any of 1.x branches? Can you please revert this change? All branch-1 builds are failing because of this patch. I can't do a fresh checkout of branch-1.3 or branch-1.4 and build. See https://builds.apache.org/job/HBase-1.3-IT/it.test=IntegrationTestAcidGuarantees,jdk=JDK%201.8%20(latest),label=Hadoop/315/console {noformat} [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 51.778s [INFO] Finished at: Sat Dec 09 13:47:21 UTC 2017 [INFO] Final Memory: 151M/3543M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:testCompile (default-testCompile) on project hbase-server: Compilation failure: Compilation failure: [ERROR] warning: unknown enum constant When.UNKNOWN [ERROR] reason: class file for javax.annotation.meta.When not found [ERROR] /home/jenkins/jenkins-slave/workspace/HBase-1.3-IT/0407dd4a/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestUpdateConfiguration.java:[52,27] error: cannot find symbol [ERROR] symbol: method getAdmin() [ERROR] location: variable TEST_UTIL of type HBaseTestingUtility [ERROR] /home/jenkins/jenkins-slave/workspace/HBase-1.3-IT/0407dd4a/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestUpdateConfiguration.java:[68,27] error: cannot find symbol [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :hbase-server {noformat} cc [~apurtell] in case you have a problem building 1.4. > Fix calls to deprecated APIs in TestUpdateConfiguration > ------------------------------------------------------- > > Key: HBASE-17425 > URL: https://issues.apache.org/jira/browse/HBASE-17425 > Project: HBase > Issue Type: Improvement > Components: Client > Reporter: Jan Hentschel > Assignee: Jan Hentschel > Priority: Trivial > Fix For: 3.0.0, 1.3.2, 1.4.1, 1.5.0, 1.2.7, 2.0.0-beta-1, 1.1.13 > > Attachments: HBASE-17425.master.001.patch > > > Currently there are two calls to the deprecated method > {code:java}HBaseTestingUtil.getHBaseAdmin(){code} in > *TestUpdateConfiguration*. These calls should be changed to > {code:java}HBaseTestingUtil.getAdmin(){code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)