You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by dl...@apache.org on 2015/07/29 14:34:46 UTC

accumulo git commit: ACCUMULO-2788: Fixup examples on VFS regex usage

Repository: accumulo
Updated Branches:
  refs/heads/master 272cd700a -> 62cf65753


ACCUMULO-2788: Fixup examples on VFS regex usage


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

Branch: refs/heads/master
Commit: 62cf65753dccf2a2365810d288c0601b86904589
Parents: 272cd70
Author: Dave Marion <dl...@hotmail.com>
Authored: Wed Jul 29 08:33:27 2015 -0400
Committer: Dave Marion <dl...@hotmail.com>
Committed: Wed Jul 29 08:33:27 2015 -0400

----------------------------------------------------------------------
 assemble/conf/examples/vfs-classloader/accumulo-site.xml | 10 +++++-----
 docs/src/main/resources/examples/README.classpath        |  2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/62cf6575/assemble/conf/examples/vfs-classloader/accumulo-site.xml
----------------------------------------------------------------------
diff --git a/assemble/conf/examples/vfs-classloader/accumulo-site.xml b/assemble/conf/examples/vfs-classloader/accumulo-site.xml
index d9d85e5..fb66d27 100644
--- a/assemble/conf/examples/vfs-classloader/accumulo-site.xml
+++ b/assemble/conf/examples/vfs-classloader/accumulo-site.xml
@@ -142,32 +142,32 @@
   <!--
   Properties in this category define a classpath for a named context. These properties start with the category prefix, followed by a context name.
   The value is a comma seperated list of URIs. Supports full regex on filename alone. For example 
-  general.vfs.context.classpath.cx1=hdfs://nn1:9902/mylibdir/*.jar.  You can enable post delegation for a context, which will load classes from 
+  general.vfs.context.classpath.cx1=hdfs://nn1:9902/mylibdir/[^.].*.jar.  You can enable post delegation for a context, which will load classes from
   the context first instead of the parent first.  Do this by setting general.vfs.context.classpath.<name>.delegation=post, where <name> 
   is your context name.  If delegation is not specified, it defaults to loading from parent classloader first.
   -->
 
   <property>
     <name>general.vfs.context.classpath.application1</name>
-    <value>hdfs://localhost:8020/application1/classpath/*.jar</value>
+    <value>hdfs://localhost:8020/application1/classpath/[^.].*.jar</value>
     <description>classpath for the application1 context</description>
   </property>
 
   <property>
     <name>general.vfs.context.classpath.application1.delegation=post</name>
-    <value>hdfs://localhost:8020/application1/classpath/*.jar</value>
+    <value>hdfs://localhost:8020/application1/classpath/[^.].*.jar</value>
     <description>classpath for the application1 context, but the classloader parent delegation model is inverted to prefer the jars/classes in this directory
     </description>
   </property>
 
   <property>
     <name>general.vfs.context.classpath.application2</name>
-    <value>hdfs://localhost:8020/application1/classpath/*.jar,hdfs://localhost:8020/application2/classpath/*.jar</value>
+    <value>hdfs://localhost:8020/application1/classpath/[^.].*.jar,hdfs://localhost:8020/application2/classpath/[^.].*.jar</value>
     <description>classpath for the application2 context, includes all of the jars in app1 context</description>
   </property>
   
   <!--
-  Once classpath context are configured, tables can be configured in the shell to use them via the table.classpath.context property.
+  Once classpath contexts are configured, tables can be configured in the shell to use them via the table.classpath.context property.
   For example, all of the tables related to application1 would have the context.classpath property set to 'application1'. 
   -->
 

http://git-wip-us.apache.org/repos/asf/accumulo/blob/62cf6575/docs/src/main/resources/examples/README.classpath
----------------------------------------------------------------------
diff --git a/docs/src/main/resources/examples/README.classpath b/docs/src/main/resources/examples/README.classpath
index 79da239..710560f 100644
--- a/docs/src/main/resources/examples/README.classpath
+++ b/docs/src/main/resources/examples/README.classpath
@@ -29,7 +29,7 @@ Execute the following command in the shell.
 
 Execute following in Accumulo shell to setup classpath context
 
-    root@test15> config -s general.vfs.context.classpath.cx1=hdfs://<namenode host>:<namenode port>/user1/lib
+    root@test15> config -s general.vfs.context.classpath.cx1=hdfs://<namenode host>:<namenode port>/user1/lib/[^.].*.jar
 
 Create a table