You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/02/18 18:15:00 UTC

[jira] [Work logged] (HIVE-27093) Fix NPE in initialize() of Partition class

     [ https://issues.apache.org/jira/browse/HIVE-27093?focusedWorklogId=846313&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-846313 ]

ASF GitHub Bot logged work on HIVE-27093:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 18/Feb/23 18:14
            Start Date: 18/Feb/23 18:14
    Worklog Time Spent: 10m 
      Work Description: wecharyu opened a new pull request, #4073:
URL: https://github.com/apache/hive/pull/4073

   ### What changes were proposed in this pull request?
   Check if the SD of a Partition exists to avoid NPE. 
   
   
   ### Why are the changes needed?
   The Partition SD may lost in backend metadata database for some reasons. For these partitions with corrupted metadata, we can  not even drop them if the NPE exists.
   
   
   ### Does this PR introduce _any_ user-facing change?
   No.
   
   
   ### How was this patch tested?
   No new tests.
   




Issue Time Tracking
-------------------

            Worklog Id:     (was: 846313)
    Remaining Estimate: 0h
            Time Spent: 10m

> Fix NPE in initialize() of Partition class
> ------------------------------------------
>
>                 Key: HIVE-27093
>                 URL: https://issues.apache.org/jira/browse/HIVE-27093
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 4.0.0-alpha-2
>            Reporter: Wechar
>            Assignee: Wechar
>            Priority: Major
>         Attachments: image-2023-02-19-02-00-43-537.png
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> We will get a *NullPointerException* when get_partitions from HMS if the partition SD does not exists.
> !image-2023-02-19-02-00-43-537.png!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)