hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-16638) Reduce the number of Connection's created in classes of hbase-spark module
Date Fri, 14 Oct 2016 04:35:20 GMT

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

Hadoop QA commented on HBASE-16638:
-----------------------------------

| (/) *{color:green}+1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue} 0m 14s {color} | {color:blue}
Docker mode activated. {color} |
| {color:green}+1{color} | {color:green} hbaseanti {color} | {color:green} 0m 0s {color} |
{color:green} Patch does not have any anti-patterns. {color} |
| {color:green}+1{color} | {color:green} @author {color} | {color:green} 0m 0s {color} | {color:green}
The patch does not contain any @author tags. {color} |
| {color:green}+1{color} | {color:green} test4tests {color} | {color:green} 0m 0s {color}
| {color:green} The patch appears to include 1 new or modified test files. {color} |
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 3m 45s {color}
| {color:green} master passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green} 1m 2s {color} | {color:green}
master passed {color} |
| {color:green}+1{color} | {color:green} scaladoc {color} | {color:green} 0m 29s {color} |
{color:green} master passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green} 1m 4s {color} | {color:green}
the patch passed {color} |
| {color:green}+1{color} | {color:green} scalac {color} | {color:green} 1m 4s {color} | {color:green}
the patch passed {color} |
| {color:green}+1{color} | {color:green} whitespace {color} | {color:green} 0m 0s {color}
| {color:green} The patch has no whitespace issues. {color} |
| {color:green}+1{color} | {color:green} hadoopcheck {color} | {color:green} 27m 34s {color}
| {color:green} Patch does not cause any errors with Hadoop 2.4.0 2.4.1 2.5.0 2.5.1 2.5.2
2.6.1 2.6.2 2.6.3 2.7.1. {color} |
| {color:green}+1{color} | {color:green} hbaseprotoc {color} | {color:green} 0m 31s {color}
| {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} scaladoc {color} | {color:green} 0m 22s {color} |
{color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} unit {color} | {color:green} 0m 50s {color} | {color:green}
hbase-spark in the patch passed. {color} |
| {color:green}+1{color} | {color:green} asflicense {color} | {color:green} 0m 8s {color}
| {color:green} The patch does not generate ASF License warnings. {color} |
| {color:black}{color} | {color:black} {color} | {color:black} 36m 12s {color} | {color:black}
{color} |
\\
\\
|| Subsystem || Report/Notes ||
| Docker | Client=1.11.2 Server=1.11.2 Image:yetus/hbase:7bda515 |
| JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12833291/HBASE-16638_ADDENDUM_v2.patch
|
| JIRA Issue | HBASE-16638 |
| Optional Tests |  asflicense  scalac  scaladoc  unit  compile  |
| uname | Linux 9aa7db47abeb 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12
UTC 2014 x86_64 x86_64 x86_64 GNU/Linux |
| Build tool | maven |
| Personality | /home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build/component/dev-support/hbase-personality.sh
|
| git revision | master / 91a7bbd |
|  Test Results | https://builds.apache.org/job/PreCommit-HBASE-Build/4005/testReport/ |
| modules | C: hbase-spark U: hbase-spark |
| Console output | https://builds.apache.org/job/PreCommit-HBASE-Build/4005/console |
| Powered by | Apache Yetus 0.3.0   http://yetus.apache.org |


This message was automatically generated.



> Reduce the number of Connection's created in classes of hbase-spark module
> --------------------------------------------------------------------------
>
>                 Key: HBASE-16638
>                 URL: https://issues.apache.org/jira/browse/HBASE-16638
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Weiqing Yang
>             Fix For: 2.0.0
>
>         Attachments: HBASE-16638.ADDENDUM.patch, HBASE-16638_ADDENDUM_v1.patch, HBASE-16638_ADDENDUM_v2.patch,
HBASE-16638_v1.patch, HBASE-16638_v2.patch
>
>
> In HBaseResources.scala :
> {code}
> case class RegionResource(relation: HBaseRelation) extends ReferencedResource {
>   var connection: Connection = _
>   var rl: RegionLocator = _
> ...
>   override def init(): Unit = {
>     connection = ConnectionFactory.createConnection(relation.hbaseConf)
> {code}
> Connection is created per RegionResource.
> This is not necessary.
> Caching of Connection's should be provided to reduce the number of concurrent Connection's.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message