This is an example of how to bulk ingest data into Accumulo using mapReduce.
This tutorial uses the following Java classes.
- SetupTable.java - creates the table, 'examples.test_bulk', and sets two split points.
- BulkIngestExample.java - creates some data to ingest and then ingests the data using mapReduce
- VerifyIngest.java - checks that the data was ingested
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