morningman commented on a change in pull request #1186: Print unfinished tablet 
when cancel load job
URL: https://github.com/apache/incubator-doris/pull/1186#discussion_r286763593
 
 

 ##########
 File path: fe/src/main/java/org/apache/doris/load/LoadJob.java
 ##########
 @@ -639,13 +648,19 @@ public long getDeleteJobTimeout() {
     
     @Override
     public String toString() {
+        String unfinishedTabletsStr = "";
+        for(int i = 0; i < unfinishedTablets.size() && i < 3; ++i) {
+            unfinishedTabletsStr = unfinishedTabletsStr + "," + 
unfinishedTablets.get(i);
 
 Review comment:
   using stream().limit()

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to