This is an example of how to bulk ingest data into Accumulo using map reduce.
This tutorial uses the following Java classes.
Remember to copy the accumulo-examples*.jar to Accumulo's ‘lib/ext’ directory.
$ cp target/accumulo-examples*.jar /path/accumulo/lib/ext
The following commands show how to run this example. This example creates a table called test_bulk which has two initial split points. Then 1000 rows of test data are created in HDFS. After that the 1000 rows are ingested into Accumulo. Then we verify the 1000 rows are in Accumulo.
$ ./bin/runex mapreduce.bulk.SetupTable $ ./bin/runmr mapreduce.bulk.BulkIngestExample $ ./bin/runex mapreduce.bulk.VerifyIngest