You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Shohei Okumiya (Jira)" <ji...@apache.org> on 2025/04/16 12:40:00 UTC
[jira] [Resolved] (HIVE-28897) Set logging level to warn for missing proto.base-directory when running schematool
[ https://issues.apache.org/jira/browse/HIVE-28897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shohei Okumiya resolved HIVE-28897.
-----------------------------------
Fix Version/s: 4.1.0
Resolution: Fixed
Merged. Thanks [~Aggarwal_Raghav] for writing the patch, and thanks [~kiranvelumuri] and [~aturoczy] for reviewing the pull request!
> 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
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.1.0
>
>
> 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)