hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thejas M Nair (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-21499) should not remove the function from registry if create command failed with AlreadyExistsException
Date Wed, 27 Mar 2019 20:54:00 GMT

    [ https://issues.apache.org/jira/browse/HIVE-21499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16803355#comment-16803355
] 

Thejas M Nair commented on HIVE-21499:
--------------------------------------

Change looks good. Can you also please add a unit test case ?


> should not remove the function from registry if create command failed with AlreadyExistsException
> -------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-21499
>                 URL: https://issues.apache.org/jira/browse/HIVE-21499
>             Project: Hive
>          Issue Type: Bug
>          Components: Hive
>    Affects Versions: 3.1.0
>         Environment: Hive-3.1
>            Reporter: Rajkumar Singh
>            Assignee: Rajkumar Singh
>            Priority: Major
>         Attachments: HIVE-21499.patch
>
>
> As a part of HIVE-20953 we are removing the function if creation for same failed with
any reason, this will yield into the following situation.
> 1. create function failed since function already exists
> 2. on #1 failure hive will clear the permanent function from the registry
> 3. this function will be of no use until hiveserver2 restarted.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message