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

Hudson commented on HBASE-21610:
--------------------------------

Results for branch branch-2.0
        [build #1183 on 
builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.0/1183/]: 
(x) *{color:red}-1 overall{color}*
----
details (if available):

(/) {color:green}+1 general checks{color}
-- For more information [see general 
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.0/1183//General_Nightly_Build_Report/]




(x) {color:red}-1 jdk8 hadoop2 checks{color}
-- For more information [see jdk8 (hadoop2) 
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.0/1183//JDK8_Nightly_Build_Report_(Hadoop2)/]


(/) {color:green}+1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3) 
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.0/1183//JDK8_Nightly_Build_Report_(Hadoop3)/]


(/) {color:green}+1 source release artifact{color}
-- See build output for details.


> numOpenConnections metric is set to -1 when zero server channel exist
> ---------------------------------------------------------------------
>
>                 Key: HBASE-21610
>                 URL: https://issues.apache.org/jira/browse/HBASE-21610
>             Project: HBase
>          Issue Type: Bug
>          Components: metrics
>    Affects Versions: 2.1.1, 2.0.3
>            Reporter: Pankaj Kumar
>            Assignee: Pankaj Kumar
>            Priority: Minor
>             Fix For: 3.0.0, 2.2.0, 2.1.2, 2.0.4
>
>         Attachments: HBASE-21610.patch, HBASE-21610.patch, HBASE-21610.patch, 
> HBASE-21610.patch, HBASE-21610.patch
>
>
> In NettyRpcServer, numOpenConnections metric is set to -1 when zero server 
> channel exist.
> {code}
> @Override
>  public int getNumOpenConnections() {
>  // allChannels also contains the server channel, so exclude that from the 
> count.
>  return allChannels.size() - 1;
>  }
> {code}
>  
>  We should not decrease the channel size by 1 when zero server channel exist.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to