Raghav Aggarwal created HIVE-28897:
--------------------------------------
Summary: Set logging level to warn for missing
proto.base-directory when running schematool
Key: HIVE-28897
URL: https://issues.apache.org/jira/browse/HIVE-28897
Project: Hive
Issue Type: Improvement
Reporter: Raghav Aggarwal
Assignee: Raghav Aggarwal
POST [HIVE-27855|https://github.com/apache/hive/pull/5036/files#top], on
running the schematool without _hive.hook.proto.base-directory_ and
_tez.history.logging.proto-base-dir_ set in config prints ERROR logs on console
which could be misleading as schematool passes.
Moving to warn logs is better IMO.
{code:java}
Initialization script hive-schema-4.1.0.hive.sql
2025-04-10 12:06:44,544 INFO cleanup.EventualCleanupService: Deleted
/tmp/hive/raghav/5b22a03d-398d-4ca2-bc0d-0d3b222cb64e
2025-04-10 12:06:44,569 ERROR schematool.HiveSchemaTool: Hive conf variable
hive.hook.proto.base-directory is not set for creating protologging tables
2025-04-10 12:06:44,569 ERROR schematool.HiveSchemaTool: Tez conf variable
tez.history.logging.proto-base-dir is not set for creating protologging tables
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)