public TruncateTableResponse truncateTable(RpcController controller,
TruncateTableRequest request) throws ServiceException {
final byte[] tableName = request.getTableName().toByteArray();
try {
checkInitialized();
this.executorService.submit(new TruncateTableHandler(tableName, this,
this.assignmentManager));
} catch (IOException ioe) {
throw new ServiceException(ioe);
}
return TruncateTableResponse.newBuilder().build();