phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-4231) Support restriction of remote UDF load sources
Date Fri, 02 Feb 2018 20:24:00 GMT

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

ASF GitHub Bot commented on PHOENIX-4231:
-----------------------------------------

GitHub user ChinmaySKulkarni opened a pull request:

    https://github.com/apache/phoenix/pull/292

    PHOENIX-4231: Support restriction of remote UDF load sources

    - Added feature to be able to add jars from an HDFS URI.
    - Restrict loading of jars to be only from the hbase.dynamic.jars.dir
    directory.
    
    Testing done:
    - Tested that the user is able to add jars from an HDFS URI reachable on the
    network as well as local filesystem.
    - Tested that the user is unable to create a function where the jar is
    loaded from any directory apart from hbase.dynamic.jars.dir.
    - Tested that HDFS URIs without scheme and authority work.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ChinmaySKulkarni/phoenix PHOENIX-4231

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/phoenix/pull/292.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #292
    
----
commit 9351e1b4d4a5741bbf063f0d6cd31f14cfa1e6b6
Author: Chinmay Kulkarni <chinmayskulkarni@...>
Date:   2018-02-02T20:16:47Z

    PHOENIX-4231: Support restriction of remote UDF load sources
    
    - Added feature to be able to add jars from an HDFS URI.
    - Restrict loading of jars to be only from the hbase.dynamic.jars.dir
    directory.
    
    Testing done:
    - Tested that the user is able to add jars from an HDFS URI reachable on the
    network as well as local filesystem.
    - Tested that the user is unable to create a function where the jar is
    loaded from any directory apart from hbase.dynamic.jars.dir.
    - Tested that HDFS URIs without scheme and authority work.

----


> Support restriction of remote UDF load sources 
> -----------------------------------------------
>
>                 Key: PHOENIX-4231
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4231
>             Project: Phoenix
>          Issue Type: Improvement
>            Reporter: Andrew Purtell
>            Assignee: Chinmay Kulkarni
>            Priority: Major
>
> When allowUserDefinedFunctions is true, users can load UDFs remotely via a jar file from
any HDFS filesystem reachable on the network. The setting hbase.dynamic.jars.dir can be used
to restrict locations for jar loading but is only applied to jars loaded from the local filesystem.
 We should implement support for similar restriction via configuration for jars loaded via
hdfs:// URIs.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message