Instead of returning the tx id, we could allow the user to set an informational 
string when they create a bulk import.  Then we could have an API for listing 
active bulk imports that also gives this ID back OR we could modify the FATE 
print command to show this id.  I think this is an easier to use solution for 
user because it does not make them persist a tx id in a durable way.  In the 
new API, this could look like the following.

```
String bulkId = userApplicationName+":"+dir;
conn.tableOperations().importDirectory(dir).to(aTable).withUserId(bulkId).load();
```

An API for listing active bulk import may be nice, it could show the source 
dir, number of files, table, start time, fate tx id, user id, and number of 
outstanding tablets.

[ Full content available at: https://github.com/apache/accumulo/issues/650 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to