[
https://issues.apache.org/jira/browse/HIVE-30139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Soumyakanti Das resolved HIVE-30139.
------------------------------------
Fix Version/s: 4.3.0
Resolution: Fixed
Thanks [~Dayakar] for the PR! Merged to master at
[https://github.com/apache/hive/commit/b8dd76c4511bf7219728ae5a0b4e47ee883ec4ec]
> Auto partition discovery feature logging null as table name in case of any
> exception
> ------------------------------------------------------------------------------------
>
> Key: HIVE-30139
> URL: https://issues.apache.org/jira/browse/HIVE-30139
> Project: Hive
> Issue Type: Bug
> Components: Hive
> Reporter: Dayakar M
> Assignee: Dayakar M
> Priority: Minor
> Labels: pull-request-available
> Fix For: 4.3.0
>
>
> Auto partition discovery feature logging null as table name in case of any
> exception.
> In PartitionManagementTask.java, class
> [here|https://github.com/apache/hive/blob/cd9f0e7ac8b8558203ed3496bd758da0bb267847/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/PartitionManagementTask.java#L128]
> '{_}qualifiedTableName'{_} variable is used for logging which is
> initialized with null and never assigned a different value to it. The same
> variable is passed to MsckThread and
> [there|https://github.com/apache/hive/blob/cd9f0e7ac8b8558203ed3496bd758da0bb267847/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/PartitionManagementTask.java#L189]
> also it is getting logged in case of any error.
> Below is the example log
>
> {noformat}
> 2026-10-05 16:26:10,465 ERROR
> org.apache.hadoop.hive.metastore.PartitionManagementTask:
> [PartitionDiscoveryTask-2]: Exception while running partition discovery task
> for table: null{noformat}
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)