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/b45e966f
Tree: http://git-wip-us.apache.org/repos/asf/drill/tree/b45e966f
Diff: http://git-wip-us.apache.org/repos/asf/drill/diff/b45e966f

Branch: refs/heads/gh-pages
Commit: b45e966f0a3067e1f8dda5ad106d2c3ac41d6019
Parents: 375cdec
Author: Julien Le Dem <[email protected]>
Authored: Sun Nov 22 21:45:34 2015 -0800
Committer: Kristine Hahn <[email protected]>
Committed: Wed Nov 25 10:39:14 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/b45e966f/_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.

Reply via email to