drill-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tshi...@apache.org
Subject [23/30] drill git commit: Update classpath scanning doc
Date Mon, 23 Nov 2015 21:54:06 GMT
Update classpath scanning doc


Project: http://git-wip-us.apache.org/repos/asf/drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/drill/commit/f832cf6d
Tree: http://git-wip-us.apache.org/repos/asf/drill/tree/f832cf6d
Diff: http://git-wip-us.apache.org/repos/asf/drill/diff/f832cf6d

Branch: refs/heads/gh-pages
Commit: f832cf6dbedad9b8470b5cf2bbc78caca2e518f4
Parents: a33c893
Author: Julien Le Dem <julien@dremio.com>
Authored: Sun Nov 22 21:45:34 2015 -0800
Committer: Tomer Shiran <tshiran@gmail.com>
Committed: Mon Nov 23 10:11:26 2015 -0800

----------------------------------------------------------------------
 .../040-adding-custom-functions-to-drill.md             | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/drill/blob/f832cf6d/_docs/develop-custom-functions/040-adding-custom-functions-to-drill.md
----------------------------------------------------------------------
diff --git a/_docs/develop-custom-functions/040-adding-custom-functions-to-drill.md b/_docs/develop-custom-functions/040-adding-custom-functions-to-drill.md
index 1858e44..ae1aa27 100644
--- a/_docs/develop-custom-functions/040-adding-custom-functions-to-drill.md
+++ b/_docs/develop-custom-functions/040-adding-custom-functions-to-drill.md
@@ -10,17 +10,15 @@ Restart the Drillbit on each node to refresh the configuration.
 To add a custom function to Drill, complete the following steps:
 
   1. Add the sources JAR file and the classes JAR file for the custom function to the Drill
classpath on all nodes running a Drillbit. To add the JAR files, copy them to `<drill installation
directory>/jars/3rdparty`.
-  2. On all nodes running a Drillbit, add the name of the package that contains the classes
to the main Drill configuration file in the following location:
-  
-        <drill installation directory>/conf/drill-override.conf
-	To add the package, add the package name to
-	`drill.logical.function.package+=`. Separate package names with a comma.
+  2. Your class jar file should contain a `drill-module.conf` file at its root. 
+  3. The `drill-module.conf` file should contain the packages to scan for functions
+  	`drill.classpath.scanning.package+=`. Separate package names with a comma.
 	
     **Example**
 		
-		drill.logical.function.package+= [“org.apache.drill.exec.expr.fn.impl","org.apache.drill.udfs”]
+		drill.classpath.scanning.package+= "com.mydomain.drill.fn"
   3. On each Drill node in the cluster, navigate to the Drill installation directory, and
issue the following command to restart the Drillbit:
   
         <drill installation directory>/bin/drillbit.sh restart
 
-     Now you can issue queries with your custom functions to Drill.
\ No newline at end of file
+     Now you can issue queries with your custom functions to Drill.


Mime
View raw message