hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "liuzongquan (JIRA)" <>
Subject [jira] [Commented] (HIVE-11663) Auto load/unload custom udf function for hive cli and hiveserver2
Date Thu, 27 Aug 2015 04:23:45 GMT


liuzongquan commented on HIVE-11663:

The implementation is improve and When connecting hive throw
thrift, CLIService will call function initCustomUDF(SessionHandle sessionHandle), this will
load all functions configged in, which is a custom defined properties
file underlying $HIVE_HOME/conf. Actully, can be renamed in hive-site.conf,
which set all configuration for this feature, as below.

    <description>Whether enable hiveserver add customized udf from adding jars, default
value is false</description>
    <description>The customized udf functions' defination file. It's must be under $HIVE_HOME/conf
directory. The patern is  as below.func_name={udf_jar_name,udf_class_name}</description>

> Auto load/unload custom udf function for hive cli and hiveserver2
> -----------------------------------------------------------------
>                 Key: HIVE-11663
>                 URL:
>             Project: Hive
>          Issue Type: Improvement
>          Components: CLI, Configuration
>    Affects Versions: 0.14.0, 1.0.0, 1.0.1, 1.1.1, 1.2.1
>            Reporter: liuzongquan
>            Assignee: liuzongquan
>              Labels: features, patch
>         Attachments: HIVE-11663.patch
>   Original Estimate: 96h
>  Remaining Estimate: 96h
> when adding custom functions used in hiveserver2, the most method is re-build the hive
source code, re-dist and restart hiveserver2. This way will produce big cost for service user
and cluster manager. The best way, in my opinion, the custom udf should be like a plugin to
the hiveserver2 and hive cli, and users should be add and remove at run-time, especially for

This message was sent by Atlassian JIRA

View raw message