You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@kyuubi.apache.org by GitBox <gi...@apache.org> on 2022/08/17 04:06:23 UTC

[GitHub] [incubator-kyuubi] lightning-L opened a new issue, #3251: [Bug] open/total connection metrics for KyuubiTHttpFrontendService is always 1

lightning-L opened a new issue, #3251:
URL: https://github.com/apache/incubator-kyuubi/issues/3251

   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   
   
   ### Search before asking
   
   - [X] I have searched in the [issues](https://github.com/apache/incubator-kyuubi/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Describe the bug
   
   I have testing it at my local dev environment.
   First, `cd <kyuubi_project_folder>`
   then add following config to `conf/kyuubi-defaults.conf`:
   ```
   kyuubi.frontend.protocols THRIFT_HTTP
   ```
   then `bin/kyuubi start`.
   Check metric with command `grep "thrift" work/metrics/report.json -A3`:
   ```
       "kyuubi.thrift.http.connection.opened" : {
         "count" : 1
       },
       "kyuubi.thrift.http.connection.total" : {
         "count" : 1
       }
     },
   
   ```
   => opened and total should be 0
   
   then run `bin/beeline -u "jdbc:hive2://10.xxx.xx.xxx:10010/default;transportMode=http;httpPath=cliservice"`,
   check metric again:
   ```
   "kyuubi.thrift.http.connection.opened" : {
         "count" : 1
       },
       "kyuubi.thrift.http.connection.total" : {
         "count" : 1
       }
     },
   
   ```
   => open and total should be 1
   
   open another terminal and run `bin/beeline -u "jdbc:hive2://10.xxx.xx.xxx:10010/default;transportMode=http;httpPath=cliservice"`, check metric again:
   ```
   "kyuubi.thrift.http.connection.opened" : {
         "count" : 1
       },
       "kyuubi.thrift.http.connection.total" : {
         "count" : 1
       }
     },
   ```
   => open and total should be 2
   
   
   
   ### Affects Version(s)
   
   1.6.0
   
   ### Kyuubi Server Log Output
   
   _No response_
   
   ### Kyuubi Engine Log Output
   
   _No response_
   
   ### Kyuubi Server Configurations
   
   _No response_
   
   ### Kyuubi Engine Configurations
   
   _No response_
   
   ### Additional context
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org