hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Namit Jain (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-2544) Nullpointer on registering udfs.
Date Tue, 17 Jul 2012 04:33:36 GMT

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

Namit Jain commented on HIVE-2544:
----------------------------------

@Edward, your patch solves the problem for registering UDFs.

But, it is still possible to get NPEs, if different threads are performing showfunctions and
register functions concurrently.
Not sure, if you want to solve it in the same jira.
Otherwise, please file a follow-up jira for that, and I will accept this one.
                
> Nullpointer on registering udfs.
> --------------------------------
>
>                 Key: HIVE-2544
>                 URL: https://issues.apache.org/jira/browse/HIVE-2544
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.9.0
>            Reporter: Bennie Schut
>            Assignee: Bennie Schut
>            Priority: Blocker
>         Attachments: HIVE-2544.1.patch.txt, HIVE-2544.patch.2.txt
>
>
> Currently the Function registry can throw NullPointers when multiple threads are trying
to register the same function. The normal put() will replace the existing registered function
object even if it's exactly the same function.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message