hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward Capriolo (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-2544) Nullpointer on registering udfs.
Date Thu, 28 Jun 2012 02:02:44 GMT

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

Edward Capriolo commented on HIVE-2544:
---------------------------------------

I have included a patch to use Collections.synchronizedMap() this should deal with atomic
issues without changing the order of things.
                
> 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
>         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