This is an automated email from the ASF dual-hosted git repository.

okumin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git


The following commit(s) were added to refs/heads/master by this push:
     new c6bd3844f78 HIVE-28897: Set logging level to warn for missing 
proto.base-directory when running schematool (#5761) (Raghav Aggarwal, reviewed 
by Kiran Velumuri, Attila Turoczy, Shohei Okumiya)
c6bd3844f78 is described below

commit c6bd3844f78372e6bcb84a8566a1b6def660672d
Author: Raghav Aggarwal <[email protected]>
AuthorDate: Wed Apr 16 18:08:17 2025 +0530

    HIVE-28897: Set logging level to warn for missing proto.base-directory when 
running schematool (#5761) (Raghav Aggarwal, reviewed by Kiran Velumuri, Attila 
Turoczy, Shohei Okumiya)
---
 .../src/java/org/apache/hive/beeline/schematool/HiveSchemaTool.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/beeline/src/java/org/apache/hive/beeline/schematool/HiveSchemaTool.java 
b/beeline/src/java/org/apache/hive/beeline/schematool/HiveSchemaTool.java
index ac053e8c1a7..73f93ff714e 100644
--- a/beeline/src/java/org/apache/hive/beeline/schematool/HiveSchemaTool.java
+++ b/beeline/src/java/org/apache/hive/beeline/schematool/HiveSchemaTool.java
@@ -135,11 +135,11 @@ void replaceLocationForProtoLogTables(String 
sqlScriptFile) throws IOException {
     Map<String, String> replacements = new HashMap<>();
 
     if (isEmpty(hiveProtoBaseDir)) {
-      LOG.error("Hive conf variable hive.hook.proto.base-directory is not set 
for creating protologging tables");
+      LOG.warn("Hive conf variable hive.hook.proto.base-directory is not set 
for creating protologging tables");
       hiveProtoLoggingEnabled = false;
     }
     if (isEmpty(tezProtoBaseDir)) {
-      LOG.error("Tez conf variable tez.history.logging.proto-base-dir is not 
set for creating protologging tables");
+      LOG.warn("Tez conf variable tez.history.logging.proto-base-dir is not 
set for creating protologging tables");
       tezProtoLoggingEnabled = false;
     }
 

Reply via email to