You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "Nitin-Kashyap (via GitHub)" <gi...@apache.org> on 2024/01/20 16:32:51 UTC
[PR] [fix](meta) HMS catalog connection fails with exception maxActive=0 [doris]
Nitin-Kashyap opened a new pull request, #30189:
URL: https://github.com/apache/doris/pull/30189
## Proposed changes
Added JDBC optional parameters with default values in HMSExternal catalog
Issue Number: close #30188
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [fix](meta) HMS catalog connection fails with exception maxActive=0 [doris]
Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #30189:
URL: https://github.com/apache/doris/pull/30189#issuecomment-1902177232
<details>
<summary>TPC-DS: <b>Total hot run time: 176653 ms</b></summary>
```
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpcds-tools
TPC-DS sf100 test result on commit 0f2a5555fe5e8edcc9bf9a3873ebdb93c77b7ba1, data reload: false
query1 924 336 329 329
query2 6556 1925 1921 1921
query3 6712 198 200 198
query4 31514 22289 22120 22120
query5 6882 539 579 539
query6 249 154 160 154
query7 4614 269 264 264
query8 221 175 172 172
query9 8389 2534 2507 2507
query10 445 233 213 213
query11 16787 15539 15561 15539
query12 117 73 68 68
query13 1688 377 383 377
query14 10624 6986 6987 6986
query15 212 190 180 180
query16 4599 239 230 230
query17 986 484 473 473
query18 1783 255 259 255
query19 174 134 134 134
query20 72 70 68 68
query21 186 131 132 131
query22 4863 4734 4598 4598
query23 31557 30796 30954 30796
query24 12536 2855 2796 2796
query25 581 314 310 310
query26 1803 147 142 142
query27 3199 266 274 266
query28 7277 1831 1815 1815
query29 2240 641 619 619
query30 282 138 140 138
query31 941 775 780 775
query32 85 50 50 50
query33 720 223 215 215
query34 1152 440 460 440
query35 895 753 738 738
query36 1330 1238 1187 1187
query37 99 57 63 57
query38 3349 3226 3263 3226
query39 1329 1261 1273 1261
query40 343 86 87 86
query41 38 35 34 34
query42 85 80 84 80
query43 504 484 490 484
query44 1086 684 683 683
query45 194 176 176 176
query46 1070 650 643 643
query47 1687 1569 1543 1543
query48 393 318 312 312
query49 1221 285 289 285
query50 692 308 320 308
query51 5318 5149 5192 5149
query52 86 85 73 73
query53 329 258 248 248
query54 460 289 292 289
query55 83 74 77 74
query56 182 172 166 166
query57 979 923 937 923
query58 189 165 160 160
query59 2986 2809 2715 2715
query60 211 186 187 186
query61 85 92 83 83
query62 612 370 379 370
query63 273 257 265 257
query64 6082 1784 1750 1750
query65 3322 3247 3252 3247
query66 1417 320 307 307
query67 15681 14995 15059 14995
query68 12674 517 494 494
query69 616 315 298 298
query70 1601 1533 1562 1533
query71 564 206 213 206
query72 5164 2866 2888 2866
query73 2731 324 313 313
query74 7384 6446 6398 6398
query75 5135 2310 2325 2310
query76 6686 1067 1023 1023
query77 837 234 235 234
query78 9324 8636 8557 8557
query79 990 488 490 488
query80 656 321 320 320
query81 459 200 202 200
query82 204 74 76 74
query83 157 120 125 120
query84 278 70 69 69
query85 1139 341 341 341
query86 401 405 407 405
query87 3518 3403 3301 3301
query88 3289 2210 2198 2198
query89 434 367 347 347
query90 2047 184 185 184
query91 165 129 123 123
query92 53 44 45 44
query93 1391 399 429 399
query94 1315 163 154 154
query95 506 457 447 447
query96 626 324 310 310
query97 4249 4126 4149 4126
query98 210 185 174 174
query99 1054 684 692 684
Total cold run time: 299437 ms
Total hot run time: 176653 ms
```
</details>
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [fix](meta) HMS catalog connection fails with exception maxActive=0 [doris]
Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #30189:
URL: https://github.com/apache/doris/pull/30189#issuecomment-1902174387
<details>
<summary>TPC-H: <b>Total hot run time: 39094 ms</b></summary>
```
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
Tpch sf100 test result on commit 0f2a5555fe5e8edcc9bf9a3873ebdb93c77b7ba1, data reload: false
------ Round 1 ----------------------------------
q1 18532 5341 5446 5341
q2 2424 147 138 138
q3 10861 1180 1142 1142
q4 11166 791 846 791
q5 8246 3209 3233 3209
q6 202 128 128 128
q7 896 503 486 486
q8 9250 1898 1950 1898
q9 7238 6369 6377 6369
q10 8213 3087 3065 3065
q11 428 211 216 211
q12 363 191 196 191
q13 17990 3401 3365 3365
q14 250 221 220 220
q15 551 511 529 511
q16 439 383 373 373
q17 941 541 521 521
q18 7654 6934 6711 6711
q19 1566 1400 1395 1395
q20 600 306 303 303
q21 2778 2456 2421 2421
q22 373 305 338 305
Total cold run time: 110961 ms
Total hot run time: 39094 ms
----- Round 2, with runtime_filter_mode=off -----
q1 5328 5374 5350 5350
q2 323 214 215 214
q3 3339 3266 3251 3251
q4 2085 2029 2075 2029
q5 5979 5966 5964 5964
q6 203 121 124 121
q7 2322 1831 1880 1831
q8 3242 3416 3383 3383
q9 8908 8960 8832 8832
q10 3898 3830 3794 3794
q11 550 455 457 455
q12 796 603 634 603
q13 16918 3199 3148 3148
q14 288 244 262 244
q15 556 510 496 496
q16 537 475 488 475
q17 1881 1917 1804 1804
q18 9674 15144 9628 9628
q19 28001 1568 1521 1521
q20 4549 1940 1917 1917
q21 14657 5408 5368 5368
q22 1048 573 522 522
Total cold run time: 115082 ms
Total hot run time: 60950 ms
```
</details>
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [fix](meta) HMS catalog connection fails with exception maxActive=0 [doris]
Posted by "Nitin-Kashyap (via GitHub)" <gi...@apache.org>.
Nitin-Kashyap commented on PR #30189:
URL: https://github.com/apache/doris/pull/30189#issuecomment-1905799606
> Hello @Nitin-Kashyap , regarding this issue, I think we should not add additional JDBC default parameters in HMSExternalCatalog to provide JdbcClient initialization. This will make the code bloated. We only need to simply specify the default values of the parameters in JdbcConfig, like This PR: #30262. because for The connection pool on the FE side will not bear excessive tasks, so it will not cause any problems. Of course, we will rearrange the parameters of the connection pool later to make it more reasonable.
@zy-kkk : Agreed, however there should still exist some validation when specified `"hive.metastore.type" = "jdbc" `
I'm happy to contribute that as part of this PR. Please suggest which parameters should only be allowed in `type=hms`; I shall update this PR accordingly.
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [fix](meta) HMS catalog connection fails with exception maxActive=0 [doris]
Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #30189:
URL: https://github.com/apache/doris/pull/30189#issuecomment-1902179516
Load test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
```
Load test result on commit 0f2a5555fe5e8edcc9bf9a3873ebdb93c77b7ba1 with default session variables
Stream load json: 19 seconds loaded 2358488459 Bytes, about 118 MB/s
Stream load orc: 59 seconds loaded 1101869774 Bytes, about 17 MB/s
Stream load parquet: 31 seconds loaded 861443392 Bytes, about 26 MB/s
Insert into select: 14.8 seconds inserted 10000000 Rows, about 675K ops/s
```
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [fix](meta) HMS catalog connection fails with exception maxActive=0 [doris]
Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #30189:
URL: https://github.com/apache/doris/pull/30189#issuecomment-1902178380
<details>
<summary>ClickBench: <b>Total hot run time: 30.34 s</b></summary>
```
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
ClickBench test result on commit 0f2a5555fe5e8edcc9bf9a3873ebdb93c77b7ba1, data reload: false
query1 0.04 0.03 0.03
query2 0.06 0.03 0.02
query3 0.23 0.05 0.06
query4 1.69 0.10 0.10
query5 0.54 0.52 0.52
query6 1.25 0.62 0.65
query7 0.02 0.01 0.01
query8 0.03 0.02 0.02
query9 0.54 0.50 0.50
query10 0.54 0.56 0.56
query11 0.12 0.09 0.08
query12 0.10 0.09 0.10
query13 0.60 0.61 0.61
query14 0.79 0.79 0.80
query15 0.79 0.78 0.79
query16 0.39 0.38 0.36
query17 0.97 1.00 1.02
query18 0.22 0.27 0.24
query19 1.84 1.79 1.77
query20 0.02 0.01 0.01
query21 15.40 0.57 0.58
query22 2.40 2.84 1.65
query23 17.49 0.89 0.85
query24 2.55 1.55 0.51
query25 0.44 0.18 0.17
query26 0.44 0.13 0.14
query27 0.07 0.06 0.05
query28 11.24 0.79 0.78
query29 12.48 3.26 3.21
query30 0.56 0.45 0.49
query31 2.77 0.34 0.34
query32 3.39 0.49 0.49
query33 3.24 3.20 3.22
query34 15.76 4.25 4.29
query35 4.31 4.26 4.22
query36 1.09 1.07 1.08
query37 0.06 0.05 0.04
query38 0.04 0.02 0.03
query39 0.02 0.02 0.01
query40 0.16 0.13 0.13
query41 0.07 0.02 0.01
query42 0.03 0.01 0.02
query43 0.02 0.02 0.02
Total cold run time: 104.81 s
Total hot run time: 30.34 s
```
</details>
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [fix](meta) HMS catalog connection fails with exception maxActive=0 [doris]
Posted by "Nitin-Kashyap (via GitHub)" <gi...@apache.org>.
Nitin-Kashyap commented on PR #30189:
URL: https://github.com/apache/doris/pull/30189#issuecomment-1902169276
run buildall
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [fix](meta) Added parameter validations for HMS Catalog(JDBC) [doris]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed pull request #30189: [fix](meta) Added parameter validations for HMS Catalog(JDBC)
URL: https://github.com/apache/doris/pull/30189
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [fix](meta) HMS catalog connection fails with exception maxActive=0 [doris]
Posted by "zy-kkk (via GitHub)" <gi...@apache.org>.
zy-kkk commented on PR #30189:
URL: https://github.com/apache/doris/pull/30189#issuecomment-1905392715
Hello @Nitin-Kashyap , regarding this issue, I think we should not add additional JDBC default parameters in HMSExternalCatalog to provide JdbcClient initialization. This will make the code bloated. We only need to simply specify the default values of the parameters in JdbcConfig, like This PR: #30262. because for The connection pool on the FE side will not bear excessive tasks, so it will not cause any problems. Of course, we will rearrange the parameters of the connection pool later to make it more reasonable.
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [fix](meta) Added parameter validations for HMS Catalog(JDBC) [doris]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #30189:
URL: https://github.com/apache/doris/pull/30189#issuecomment-2246606427
We're closing this PR because it hasn't been updated in a while.
This isn't a judgement on the merit of the PR in any way. It's just a way of keeping the PR queue manageable.
If you'd like to revive this PR, please reopen it and feel free a maintainer to remove the Stale tag!
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org