You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "CalvinKirs (via GitHub)" <gi...@apache.org> on 2023/11/28 09:02:33 UTC
[PR] [Fix](show-load)Show load npe(userinfo is null) [doris]
CalvinKirs opened a new pull request, #27698:
URL: https://github.com/apache/doris/pull/27698
### What happend
In some cases, the user information of the job may be lost, so this will cause NPE to occur.
**version 2.0.2**
**execute sql : show load**
```
java.lang.NullPointerException: null
at org.apache.doris.load.loadv2.LoadJob.getShowInfo(LoadJob.java:823) ~[doris-fe.jar:1.2-SNAPSHOT]
at org.apache.doris.load.loadv2.LoadManager.getLoadJobInfosByDb(LoadManager.java:565) ~[doris-fe.jar:1.2-SNAPSHOT]
```
### changes
Check whether the user information is null, and add peripheral exception capture and logs to avoid exceptions in a single piece of data, causing the entire show load to fail.
--
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](show-load)Show load npe(userinfo is null) [doris]
Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #27698:
URL: https://github.com/apache/doris/pull/27698#issuecomment-1829440103
(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 45.82 seconds
stream load tsv: 565 seconds loaded 74807831229 Bytes, about 126 MB/s
stream load json: 31 seconds loaded 2358488459 Bytes, about 72 MB/s
stream load orc: 68 seconds loaded 1101869774 Bytes, about 15 MB/s
stream load parquet: 32 seconds loaded 861443392 Bytes, about 25 MB/s
insert into select: 28.7 seconds inserted 10000000 Rows, about 348K ops/s
storage size: 17100770713 Bytes
--
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](show-load)Show load npe(userinfo is null) [doris]
Posted by "CalvinKirs (via GitHub)" <gi...@apache.org>.
CalvinKirs commented on PR #27698:
URL: https://github.com/apache/doris/pull/27698#issuecomment-1829381643
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](show-load)Show load npe(userinfo is null) [doris]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #27698:
URL: https://github.com/apache/doris/pull/27698#issuecomment-1829526163
PR approved by anyone and no changes requested.
--
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](show-load)Show load npe(userinfo is null) [doris]
Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #27698:
URL: https://github.com/apache/doris/pull/27698#issuecomment-1829475082
<details>
<summary>TPC-H test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G'</summary>
```
Tpch sf100 test result on commit 44d6ea18bdf31989020e28b76aacb141c0de63eb, data reload: false
run tpch-sf100 query with default conf and session variables
q1 4855 4639 4679 4639
q2 370 145 160 145
q3 2053 1919 1884 1884
q4 1403 1258 1228 1228
q5 3981 3950 4004 3950
q6 255 135 135 135
q7 1362 887 825 825
q8 2812 2822 2785 2785
q9 9961 9495 9386 9386
q10 3458 3523 3510 3510
q11 382 252 248 248
q12 439 294 291 291
q13 4566 3813 3799 3799
q14 318 303 286 286
q15 588 536 519 519
q16 489 453 454 453
q17 1152 958 888 888
q18 7903 7572 7415 7415
q19 1673 1696 1672 1672
q20 589 311 301 301
q21 4451 4060 4016 4016
q22 463 370 385 370
Total cold run time: 53523 ms
Total hot run time: 48745 ms
run tpch-sf100 query with default conf and set session variable runtime_filter_mode=off
q1 4589 4598 4592 4592
q2 335 234 285 234
q3 4033 4026 4015 4015
q4 2713 2712 2695 2695
q5 9611 9635 9580 9580
q6 244 122 124 122
q7 2970 2491 2532 2491
q8 4465 4473 4448 4448
q9 12979 12847 12800 12800
q10 4033 4146 4174 4146
q11 776 675 645 645
q12 964 823 800 800
q13 4277 3595 3555 3555
q14 376 339 340 339
q15 577 522 517 517
q16 588 562 615 562
q17 3934 3925 3879 3879
q18 9567 8875 9062 8875
q19 1770 1789 1789 1789
q20 2420 2058 2109 2058
q21 8794 8572 8341 8341
q22 940 800 804 800
Total cold run time: 80955 ms
Total hot run time: 77283 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](show-load)Show load npe(userinfo is null) [doris]
Posted by "xiaokang (via GitHub)" <gi...@apache.org>.
xiaokang merged PR #27698:
URL: https://github.com/apache/doris/pull/27698
--
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](show-load)Show load npe(userinfo is null) [doris]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #27698:
URL: https://github.com/apache/doris/pull/27698#issuecomment-1829526088
PR approved by at least one committer and no changes requested.
--
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