[ 
https://issues.apache.org/jira/browse/HIVE-30139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated HIVE-30139:
----------------------------------
    Labels: pull-request-available  (was: )

> 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
>
> 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)

Reply via email to