Refactored examples for Accumulo 2.0 (#31)
authorMike Walch <mwalch@apache.org>
Thu, 10 Jan 2019 19:40:51 +0000 (14:40 -0500)
committerGitHub <noreply@github.com>
Thu, 10 Jan 2019 19:40:51 +0000 (14:40 -0500)
commitc4b1eb5b24d846aa81f8f4f1d63733630db7e11f
tree55673d5c88a9c667d726ad5d0c599f8d3404f008
parent5b88c58e70181dfe6c91712788aad808276055d3
Refactored examples for Accumulo 2.0 (#31)

* Updated to use new MapReduce API
* Build shaded jar for M/R examples
* All examples now use ClientOpts which
  was refactored
69 files changed:
.travis.yml
README.md
bin/build [new file with mode: 0755]
bin/runex
bin/runmr [new file with mode: 0755]
conf/accumulo-client.properties [deleted file]
conf/env.sh.example [new file with mode: 0644]
conf/log4j.properties.example [moved from conf/log4j.properties with 100% similarity]
docs/bulkIngest.md
docs/filedata.md
docs/helloworld.md
docs/mapred.md
docs/regex.md
docs/rowhash.md
docs/tabletofile.md
docs/terasort.md
pom.xml
src/main/java/org/apache/accumulo/examples/bloom/BloomBatchScanner.java
src/main/java/org/apache/accumulo/examples/bloom/BloomFilters.java
src/main/java/org/apache/accumulo/examples/bloom/BloomFiltersNotFound.java
src/main/java/org/apache/accumulo/examples/cli/BatchScannerOpts.java [deleted file]
src/main/java/org/apache/accumulo/examples/cli/BatchWriterOpts.java
src/main/java/org/apache/accumulo/examples/cli/ClientOpts.java
src/main/java/org/apache/accumulo/examples/cli/MapReduceClientOnDefaultTable.java [deleted file]
src/main/java/org/apache/accumulo/examples/cli/MapReduceClientOnRequiredTable.java [deleted file]
src/main/java/org/apache/accumulo/examples/cli/MapReduceClientOpts.java [deleted file]
src/main/java/org/apache/accumulo/examples/client/Flush.java
src/main/java/org/apache/accumulo/examples/client/RandomBatchScanner.java
src/main/java/org/apache/accumulo/examples/client/RandomBatchWriter.java
src/main/java/org/apache/accumulo/examples/client/ReadWriteExample.java
src/main/java/org/apache/accumulo/examples/client/RowOperations.java
src/main/java/org/apache/accumulo/examples/client/SequentialBatchWriter.java
src/main/java/org/apache/accumulo/examples/client/TraceDumpExample.java
src/main/java/org/apache/accumulo/examples/client/TracingExample.java
src/main/java/org/apache/accumulo/examples/constraints/AlphaNumKeyConstraint.java
src/main/java/org/apache/accumulo/examples/constraints/MaxMutationSize.java
src/main/java/org/apache/accumulo/examples/constraints/NumericValueConstraint.java
src/main/java/org/apache/accumulo/examples/dirlist/FileCount.java
src/main/java/org/apache/accumulo/examples/dirlist/Ingest.java
src/main/java/org/apache/accumulo/examples/dirlist/QueryUtil.java
src/main/java/org/apache/accumulo/examples/dirlist/Viewer.java
src/main/java/org/apache/accumulo/examples/filedata/CharacterHistogram.java
src/main/java/org/apache/accumulo/examples/filedata/FileDataIngest.java
src/main/java/org/apache/accumulo/examples/helloworld/Insert.java [moved from src/main/java/org/apache/accumulo/examples/helloworld/InsertWithBatchWriter.java with 61% similarity]
src/main/java/org/apache/accumulo/examples/helloworld/Read.java [moved from src/main/java/org/apache/accumulo/examples/helloworld/ReadData.java with 69% similarity]
src/main/java/org/apache/accumulo/examples/isolation/InterferenceTest.java
src/main/java/org/apache/accumulo/examples/mapreduce/NGramIngest.java
src/main/java/org/apache/accumulo/examples/mapreduce/RegexExample.java
src/main/java/org/apache/accumulo/examples/mapreduce/RowHash.java
src/main/java/org/apache/accumulo/examples/mapreduce/TableToFile.java
src/main/java/org/apache/accumulo/examples/mapreduce/TeraSortIngest.java
src/main/java/org/apache/accumulo/examples/mapreduce/TokenFileWordCount.java
src/main/java/org/apache/accumulo/examples/mapreduce/UniqueColumns.java
src/main/java/org/apache/accumulo/examples/mapreduce/WordCount.java
src/main/java/org/apache/accumulo/examples/mapreduce/bulk/BulkIngestExample.java
src/main/java/org/apache/accumulo/examples/mapreduce/bulk/SetupTable.java
src/main/java/org/apache/accumulo/examples/mapreduce/bulk/VerifyIngest.java
src/main/java/org/apache/accumulo/examples/reservations/ARS.java
src/main/java/org/apache/accumulo/examples/sample/SampleExample.java
src/main/java/org/apache/accumulo/examples/shard/ContinuousQuery.java
src/main/java/org/apache/accumulo/examples/shard/Index.java
src/main/java/org/apache/accumulo/examples/shard/Query.java
src/main/java/org/apache/accumulo/examples/shard/Reverse.java
src/test/java/org/apache/accumulo/examples/ExamplesIT.java
src/test/java/org/apache/accumulo/examples/dirlist/CountIT.java
src/test/java/org/apache/accumulo/examples/filedata/ChunkInputFormatIT.java
src/test/java/org/apache/accumulo/examples/filedata/ChunkInputStreamIT.java
src/test/java/org/apache/accumulo/examples/mapreduce/MapReduceIT.java
src/test/resources/log4j.properties