keith-turner commented on pull request #1910:
URL: https://github.com/apache/accumulo/pull/1910#issuecomment-810358584
> Is there an example of how to use this?
I used this recently to quickly create some data for testing compactions.
Below is a bit of bash I wrote to use this new feature.
```bash
bin/accumulo jshell -<<EOF
var
client=Accumulo.newClient().from("conf/accumulo-client.properties").build();
var writer=client.createBatchWriter("testTable");
String prev = "";
for(int i = 0; i < 2000000; i++){ var uuid = UUID.randomUUID().toString();
Mutation m = new Mutation(uuid); m.put("","",prev); writer.addMutation(m); prev
= uuid;}
writer.close()
/exit
EOF
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]