[ https://issues.apache.org/jira/browse/PHOENIX-4231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16377520#comment-16377520 ]
Ethan Wang commented on PHOENIX-4231: ------------------------------------- To summarize what we are going to be working on this jira: As of today, loading from add jars 'XX' allows loading the jars from any hdfs network location to local's hbase.dynamic.jars.dir. So we are now going to make addition features to PHOENIX-1890 so that: when a property, say "loading.from.network.allowed" property is configured as false, "add jars" command only restricted to load from local file system or local hdfs. Is the plan above accurate? [~rajeshbabu] [~apurtell] Once this feature is done. user will be doing the following for creating a Udf: Add jars hdfs://localhost/udf.jar CREATE FUNCTION func(VARCHAR) returns VARCHAR as 'com.example.test.udfFunc' using jar 'configured/hbase/dynamic/jars/dir/udf2.jar' > 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)