From commits-return-22851-archive-asf-public=cust-asf.ponee.io@accumulo.apache.org Tue Apr 23 16:30:14 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 426A718076D for ; Tue, 23 Apr 2019 18:30:14 +0200 (CEST) Received: (qmail 46820 invoked by uid 500); 23 Apr 2019 16:30:13 -0000 Mailing-List: contact commits-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@accumulo.apache.org Delivered-To: mailing list commits@accumulo.apache.org Received: (qmail 46811 invoked by uid 99); 23 Apr 2019 16:30:13 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Apr 2019 16:30:13 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 77E3187A54; Tue, 23 Apr 2019 16:30:13 +0000 (UTC) Date: Tue, 23 Apr 2019 16:30:13 +0000 To: "commits@accumulo.apache.org" Subject: [accumulo-examples] branch master updated: Add missing licenses that caused the build to fail (#44) (#47) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <155603701343.8738.6772751322259392639@gitbox.apache.org> From: kturner@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: accumulo-examples X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 34e3000377061b5827634506e918f51a56830fac X-Git-Newrev: 1affb42923f35f7a1843cf8ee9adcf4dbaa69459 X-Git-Rev: 1affb42923f35f7a1843cf8ee9adcf4dbaa69459 X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated 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 + ---------------------+--------------------------------------+------------------------------- + | 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 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 $