You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Edward Capriolo (Commented) (JIRA)" <ji...@apache.org> on 2012/02/25 17:43:48 UTC

[jira] [Commented] (HIVE-2544) Nullpointer on registering udfs.

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

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

{quote}
s LinkedHashMap right now, changing it to Concurrent will violate the contract of LinkedHashMap which you can iterate in same order as your inserts. Not sure if violating that is ok here.
{quote}
>From my prospective if it passes existing UNIT test the order does not matter.

We could simply just do a concurrent map as well. I am +1 if tests pass. Any other comments?
                
> 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
>             Fix For: 0.9.0
>
>         Attachments: HIVE-2544.1.patch.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