hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Lalevée (JIRA) <>
Subject [jira] [Updated] (HIVE-1016) Ability to access DistributedCache from UDFs
Date Tue, 23 Apr 2013 23:17:17 GMT


Nicolas Lalevée updated HIVE-1016:

    Attachment: HIVE-1016.r1471197.patch.txt

patch rebased on trunk
> Ability to access DistributedCache from UDFs
> --------------------------------------------
>                 Key: HIVE-1016
>                 URL:
>             Project: Hive
>          Issue Type: New Feature
>          Components: Query Processor
>            Reporter: Carl Steinbach
>            Assignee: Carl Steinbach
>         Attachments: HIVE-1016.1.patch.txt, HIVE-1016.r1471197.patch.txt
> There have been several requests on the mailing list for
> information about how to access the DistributedCache from UDFs, e.g.:
> While responses to these emails suggested several workarounds, the only correct
> way of accessing the distributed cache is via the static methods of Hadoop's
> DistributedCache class, and all of these methods require that the JobConf be passed
> in as a parameter. Hence, giving UDFs access to the distributed cache
> reduces to giving UDFs access to the JobConf.
> I propose the following changes to GenericUDF/UDAF/UDTF:
> * Add an exec_init(Configuration conf) method that is called during Operator initialization
at runtime.
> * Change the name of the "initialize" method to "compile_init" to make it clear that
this method is called at compile-time.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message