This tutorial uses the following Java classes:
Log into the accumulo shell:
$ accumulo shell -u username -p password
Create a table called ‘hellotable’:
username@instance> createtable hellotable
Launch a Java program that inserts data with a BatchWriter:
$ ./bin/runex helloworld.InsertWithBatchWriter -c ./examples.conf -t hellotable
On the accumulo status page at the URL below (where ‘master’ is replaced with the name or IP of your accumulo master), you should see 50K entries
http://master:9995/
To view the entries, use the shell to scan the table:
username@instance> table hellotable username@instance hellotable> scan
You can also use a Java class to scan the table:
$ ./bin/runex helloworld.ReadData -c ./examples.conf -t hellotable --startKey row_0 --endKey row_1001