Search in sources :

Example 1 with TabletSplit

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);
}
Also used : TabletSplit(org.apache.accumulo.core.manager.thrift.TabletSplit) KeyExtent(org.apache.accumulo.core.dataImpl.KeyExtent)

Aggregations

KeyExtent (org.apache.accumulo.core.dataImpl.KeyExtent)1 TabletSplit (org.apache.accumulo.core.manager.thrift.TabletSplit)1