You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zeppelin.apache.org by zj...@apache.org on 2020/07/01 06:09:59 UTC
[zeppelin] branch branch-0.9 updated: [hotfix] Don't print progress
when displayLog is false
This is an automated email from the ASF dual-hosted git repository.
zjffdu pushed a commit to branch branch-0.9
in repository https://gitbox.apache.org/repos/asf/zeppelin.git
The following commit(s) were added to refs/heads/branch-0.9 by this push:
new 053e934 [hotfix] Don't print progress when displayLog is false
053e934 is described below
commit 053e93427364750ff9aaf813cc02ca6f14131273
Author: Jeff Zhang <zj...@apache.org>
AuthorDate: Wed Jul 1 14:09:15 2020 +0800
[hotfix] Don't print progress when displayLog is false
---
jdbc/src/main/java/org/apache/zeppelin/jdbc/hive/HiveUtils.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/jdbc/src/main/java/org/apache/zeppelin/jdbc/hive/HiveUtils.java b/jdbc/src/main/java/org/apache/zeppelin/jdbc/hive/HiveUtils.java
index 43844b7..5dc66ec 100644
--- a/jdbc/src/main/java/org/apache/zeppelin/jdbc/hive/HiveUtils.java
+++ b/jdbc/src/main/java/org/apache/zeppelin/jdbc/hive/HiveUtils.java
@@ -78,7 +78,7 @@ public class HiveUtils {
context.out.write(logsOutput + "\n");
context.out.flush();
}
- if (!StringUtils.isBlank(logsOutput) && progressBar != null) {
+ if (!StringUtils.isBlank(logsOutput) && progressBar != null && displayLogProperty) {
progressBar.operationLogShowedToUser();
}
Optional<String> jobURL = extractJobURL(logsOutput);