[
https://issues.apache.org/jira/browse/HBASE-11518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14063207#comment-14063207
]
Hadoop QA commented on HBASE-11518:
-----------------------------------
{color:red}-1 overall{color}. Here are the results of testing the latest
attachment
http://issues.apache.org/jira/secure/attachment/12655984/HBASE-11518-master-v1.patch
against trunk revision .
ATTACHMENT ID: 12655984
{color:green}+1 @author{color}. The patch does not contain any @author
tags.
{color:green}+0 tests included{color}. The patch appears to be a
documentation patch that doesn't require tests.
{color:green}+1 javac{color}. The applied patch does not increase the
total number of javac compiler warnings.
{color:green}+1 javac{color}. The applied patch does not increase the
total number of javac compiler warnings.
{color:green}+1 javadoc{color}. The javadoc tool did not generate any
warning messages.
{color:green}+1 findbugs{color}. The patch does not introduce any new
Findbugs (version 2.0.3) warnings.
{color:green}+1 release audit{color}. The applied patch does not increase
the total number of release audit warnings.
{color:green}+1 lineLengths{color}. The patch does not introduce lines
longer than 100
{color:red}-1 site{color}. The patch appears to cause mvn site goal to
fail.
{color:red}-1 core tests{color}. The patch failed these unit tests:
org.apache.hadoop.hbase.client.TestReplicaWithCluster
Test results:
https://builds.apache.org/job/PreCommit-HBASE-Build/10084//testReport/
Findbugs warnings:
https://builds.apache.org/job/PreCommit-HBASE-Build/10084//artifact/patchprocess/newPatchFindbugsWarningshbase-protocol.html
Findbugs warnings:
https://builds.apache.org/job/PreCommit-HBASE-Build/10084//artifact/patchprocess/newPatchFindbugsWarningshbase-examples.html
Findbugs warnings:
https://builds.apache.org/job/PreCommit-HBASE-Build/10084//artifact/patchprocess/newPatchFindbugsWarningshbase-prefix-tree.html
Findbugs warnings:
https://builds.apache.org/job/PreCommit-HBASE-Build/10084//artifact/patchprocess/newPatchFindbugsWarningshbase-client.html
Findbugs warnings:
https://builds.apache.org/job/PreCommit-HBASE-Build/10084//artifact/patchprocess/newPatchFindbugsWarningshbase-hadoop2-compat.html
Findbugs warnings:
https://builds.apache.org/job/PreCommit-HBASE-Build/10084//artifact/patchprocess/newPatchFindbugsWarningshbase-hadoop-compat.html
Findbugs warnings:
https://builds.apache.org/job/PreCommit-HBASE-Build/10084//artifact/patchprocess/newPatchFindbugsWarningshbase-common.html
Findbugs warnings:
https://builds.apache.org/job/PreCommit-HBASE-Build/10084//artifact/patchprocess/newPatchFindbugsWarningshbase-server.html
Findbugs warnings:
https://builds.apache.org/job/PreCommit-HBASE-Build/10084//artifact/patchprocess/newPatchFindbugsWarningshbase-thrift.html
Console output:
https://builds.apache.org/job/PreCommit-HBASE-Build/10084//console
This message is automatically generated.
> doc update for how to create non-shared HConnection
> ---------------------------------------------------
>
> Key: HBASE-11518
> URL: https://issues.apache.org/jira/browse/HBASE-11518
> Project: HBase
> Issue Type: Bug
> Components: documentation
> Affects Versions: 0.96.2, 0.94.21, 0.98.4
> Reporter: Qiang Tian
> Assignee: Qiang Tian
> Priority: Minor
> Attachments: HBASE-11518-master-v1.patch, hbase-11518-master.patch
>
>
> creation for non-shared connections has changed since hbase-3777, but the doc
> still remains the same...
> a simple test program:
> public class testHbase2{
> public static void main(String[] args) throws Exception {
> Configuration conf = HBaseConfiguration.create();
> conf.set("hbase.zookeeper.quorum","localhost");
> conf.set("hbase.zookeeper.property.clientPort", "2181");
> conf.set("hbase.client.instance.id", "2");
> HBaseAdmin admin = new HBaseAdmin(conf);
> conf.set("hbase.client.instance.id", "3");
> HBaseAdmin admin2 = new HBaseAdmin(conf);
> }
> }
> public static HConnection getConnection(final Configuration conf)
> throws IOException {
> HConnectionKey connectionKey = new HConnectionKey(conf);
> LOG.info("###create new connectionkey: " + connectionKey);
> synchronized (CONNECTION_INSTANCES) {
> 14/07/15 18:06:08 INFO client.HConnectionManager: ###create new
> connectionkey: HConnectionKey{properties={hbase.rpc.timeout=600000,
> hbase.client.instance.id=2, hbase.zookeeper.quorum=localhost,
> hbase.client.pause=100, hbase.zookeeper.property.clientPort=2181,
> zookeeper.znode.parent=/hbase, hbase.client.retries.number=35},
> username='tianq'}
> 14/07/15 18:06:08 INFO client.HConnectionManager: ###create new connection###
> 14/07/15 18:06:08 INFO zookeeper.RecoverableZooKeeper: Process
> identifier=hconnection-0x3d7c3d7c connecting to ZooKeeper
> ensemble=localhost:2181
> 14/07/15 18:06:09 INFO client.HConnectionManager: ###create new
> connectionkey: HConnectionKey{properties={hbase.rpc.timeout=600000,
> hbase.client.instance.id=3, hbase.zookeeper.quorum=localhost,
> hbase.client.pause=100, hbase.zookeeper.property.clientPort=2181,
> zookeeper.znode.parent=/hbase, hbase.client.retries.number=35},
> username='tianq'}
> 14/07/15 18:06:09 INFO client.HConnectionManager: ###create new connection###
> 14/07/15 18:06:09 INFO zookeeper.RecoverableZooKeeper: Process
> identifier=hconnection-0xd460d46 connecting to ZooKeeper
> ensemble=localhost:2181
--
This message was sent by Atlassian JIRA
(v6.2#6252)