final String user = shellState.getConnector().whoami();
final Authorizations auths = shellState.getConnector().securityOperations().getUserAuthorizations(user);
final Scanner scanner = shellState.getConnector().createScanner(table, auths);
scanner.setRange(new Range(new Text(Long.toHexString(trace))));
final StringBuffer finalSB = sb;
traceCount = TraceDump.printTrace(scanner, new Printer() {
@Override
public void print(final String line) {
try {
finalSB.append(line + "\n");
} catch (Exception ex) {