[ https://issues.apache.org/jira/browse/HBASE-12796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14262865#comment-14262865 ]
Hadoop QA commented on HBASE-12796: ----------------------------------- {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12689784/HBASE-12796.patch against master branch at commit a90e64c6373437e109e6d84adbf11ea8bf296e53. ATTACHMENT ID: 12689784 {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:green}+1 tests included{color}. The patch appears to include 555 new or modified tests. {color:red}-1 javac{color}. The patch appears to cause mvn compile goal to fail. Compilation errors resume: [ERROR] COMPILATION ERROR : [ERROR] /home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/Import.java:[527,37] incompatible types [ERROR] /home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build/hbase-server/target/generated-sources/java/org/apache/hadoop/hbase/generated/master/table_jsp.java:[194,47] cannot find symbol [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project hbase-server: Compilation failure: Compilation failure: [ERROR] /home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/Import.java:[527,37] incompatible types [ERROR] required: org.apache.hadoop.hbase.client.HBaseAdmin [ERROR] found: org.apache.hadoop.hbase.client.Admin [ERROR] /home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build/hbase-server/target/generated-sources/java/org/apache/hadoop/hbase/generated/master/table_jsp.java:[194,47] cannot find symbol [ERROR] symbol: method getRegionLocations() [ERROR] location: variable table of type org.apache.hadoop.hbase.client.Table [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 Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/12283//console This message is automatically generated. > Clean up HTable and HBaseAdmin deprecated constructor usage > ----------------------------------------------------------- > > Key: HBASE-12796 > URL: https://issues.apache.org/jira/browse/HBASE-12796 > Project: HBase > Issue Type: Improvement > Reporter: Jurriaan Mous > Attachments: HBASE-12796.patch > > > The are a lot of calls to the deprecated calls to HBaseAdmin and HTable > constructors in many tests and even some in production code. > This issue is about removing most of them so most code does not create > redundant Connections and underlying pools and RPC clients. Hopefully making > the tests more lightweight. -- This message was sent by Atlassian JIRA (v6.3.4#6332)