use of org.apache.accumulo.core.manager.thrift.TabletSplit in project accumulo by apache.
the class SplitReportMessage method send.
@Override
public void send(TCredentials credentials, String serverName, ManagerClientService.Iface client) throws TException, ThriftSecurityException {
TabletSplit split = new TabletSplit();
split.oldTablet = old_extent.toThrift();
split.newTablets = extents.keySet().stream().map(KeyExtent::toThrift).collect(Collectors.toList());
client.reportSplitExtent(TraceUtil.traceInfo(), credentials, serverName, split);
}
Aggregations