Apache Accumulo Hello World Example

June 9, 2026 ยท View on GitHub

This tutorial uses the following Java classes:

  • Insert.java - Inserts 10K rows (50K entries) into accumulo with each row having 5 entries
  • Read.java - Reads data between two rows

Inserts data with a BatchWriter:

$ ./bin/runex helloworld.Insert

Open the Accumulo Monitor, navigate to the examples.hellotable table, and verify that it shows 50K entries. You may need to replace localhost with the name or IP address of your server.

http://localhost:9995/

To view the entries, use the shell (run accumulo shell --user root --password secret to access it) to scan the table:

username@instance> table examples.hellotable
username@instance examples.hellotable> scan

You can also use a Java class to scan the table:

$ ./bin/runex helloworld.Read