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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to