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/12/09 12:31:31 UTC

[GitHub] [incubator-kyuubi] pan3793 commented on a diff in pull request #3949: Print the simple batch report if no log fetch to prevent misunderstand

pan3793 commented on code in PR #3949:
URL: https://github.com/apache/incubator-kyuubi/pull/3949#discussion_r1044409465


##########
kyuubi-ctl/src/main/scala/org/apache/kyuubi/ctl/cmd/log/LogBatchCommand.scala:
##########
@@ -81,6 +81,11 @@ class LogBatchCommand(
           }
 
           if (!done) {
+            if (!Option(log).exists(_.getRowCount > 0)) {
+              Option(batch).foreach { batch =>
+                info(s"Batch report for ${batch.getId} (state: ${batch.getState})")

Review Comment:
   How about print applicationId as well?



-- 
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

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