accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ktur...@apache.org
Subject [accumulo-examples] branch master updated: Add missing licenses that caused the build to fail (#44) (#47)
Date Tue, 23 Apr 2019 16:30:13 GMT
This is an automated email from the ASF dual-hosted git repository.

kturner pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/accumulo-examples.git


The following commit(s) were added to refs/heads/master by this push:
     new 1affb42  Add missing licenses that caused the build to fail (#44) (#47)
1affb42 is described below

commit 1affb42923f35f7a1843cf8ee9adcf4dbaa69459
Author: elinaawise <47641800+elinaawise@users.noreply.github.com>
AuthorDate: Tue Apr 23 12:30:09 2019 -0400

    Add missing licenses that caused the build to fail (#44) (#47)
    
    updated .md files
---
 docs/classpath.md    |  8 ++++----
 docs/reservations.md | 11 +++++++++--
 docs/rowhash.md      |  2 +-
 docs/tabletofile.md  |  2 +-
 4 files changed, 15 insertions(+), 8 deletions(-)

diff --git a/docs/classpath.md b/docs/classpath.md
index 5e531f5..c51c85d 100644
--- a/docs/classpath.md
+++ b/docs/classpath.md
@@ -24,7 +24,7 @@ table reference that jar.
 
 Execute the following command in the shell.
 
-    $ hadoop fs -copyFromLocal /path/to/accumulo/test/src/test/resources/FooFilter.jar /user1/lib
+    $ hadoop fs -copyFromLocal /path/to/accumulo/test/src/main/resources/FooFilter.jar /user1/lib
 
 Execute following in Accumulo shell to setup classpath context
 
@@ -38,7 +38,7 @@ The following command makes this table use the configured classpath context
 
     root@test15 nofoo> config -t nofoo -s table.classpath.context=cx1
 
-The following command configures an iterator thats in FooFilter.jar
+The following command configures an iterator that's in FooFilter.jar
 
     root@test15 nofoo> setiter -n foofilter -p 10 -scan -minc -majc -class org.apache.accumulo.test.FooFilter
     Filter accepts or rejects each Key/Value pair
@@ -52,8 +52,8 @@ The commands below show the filter is working.
     noo1 f1:q1 []    v2
     root@test15 nofoo>
 
-Below, an attempt is made to add the FooFilter to a table thats not configured
-to use the clasppath context cx1. This fails util the table is configured to
+Below, an attempt is made to add the FooFilter to a table that's not configured
+to use the classpath context cx1. This fails util the table is configured to
 use cx1.
 
     root@test15 nofoo> createtable nofootwo
diff --git a/docs/reservations.md b/docs/reservations.md
index 2199fe2..a987cfe 100644
--- a/docs/reservations.md
+++ b/docs/reservations.md
@@ -24,9 +24,16 @@ user. In the example below threads are spun up for alice, bob, eve, mallory,
 and trent to reserve room06 on 20140101. Bob ends up getting the reservation
 and everyone else is put on a wait list. The example code will take any string
 for what, when and who.
-
+    
+    $ /path/to/accumulo org.apache.accumulo.server.util.ListInstances
+    
+    Instance Name       | Instance ID                          | Master                 
      
+    ---------------------+--------------------------------------+-------------------------------
+        <instance name> | 9f8f2a97-432f-4e66-b153-861e2a1ca246 |                localhost:9999
+    
+    $ /path/to/accumulo shell -u root -p secret -e "createtable ars"
     $ ./bin/runex reservations.ARS
-    >connect test16 localhost root secret ars
+    >connect <instance name> localhost root secret ars
       connected
     >
       Commands :
diff --git a/docs/rowhash.md b/docs/rowhash.md
index ef44c6e..5bea7df 100644
--- a/docs/rowhash.md
+++ b/docs/rowhash.md
@@ -36,7 +36,7 @@ specified colum. Here's how you run the map/reduce job
 Now we can scan the table and see the hashes:
 
     $ accumulo shell
-    username@instance> scan -t input
+    username@instance> scan -t rowhash
     a-row cf:cq []    value
     a-row cf-HASHTYPE:cq-MD5BASE64 []    IGPBYI1uC6+AJJxC4r5YBA==
     b-row cf:cq []    value
diff --git a/docs/tabletofile.md b/docs/tabletofile.md
index 6154b78..36078e6 100644
--- a/docs/tabletofile.md
+++ b/docs/tabletofile.md
@@ -45,7 +45,7 @@ The following will extract the rows containing the column "cf:cq":
 
 We can see the output of our little map-reduce job:
 
-    $ hadoop fs -text /tmp/output/output/part-m-00000
+    $ hadoop fs -text /tmp/output/part-m-00000
     catrow cf:cq []	catvalue
     dogrow cf:cq []	dogvalue
     $


Mime
View raw message