Search in sources :

Example 1 with RemoveSpanReceiverRequestProto

use of org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverRequestProto in project hadoop by apache.

the class TraceAdminProtocolTranslatorPB method removeSpanReceiver.

@Override
public void removeSpanReceiver(long spanReceiverId) throws IOException {
    try {
        RemoveSpanReceiverRequestProto req = RemoveSpanReceiverRequestProto.newBuilder().setId(spanReceiverId).build();
        rpcProxy.removeSpanReceiver(null, req);
    } catch (ServiceException e) {
        throw ProtobufHelper.getRemoteException(e);
    }
}
Also used : RemoveSpanReceiverRequestProto(org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverRequestProto) ServiceException(com.google.protobuf.ServiceException)

Aggregations

ServiceException (com.google.protobuf.ServiceException)1 RemoveSpanReceiverRequestProto (org.apache.hadoop.tracing.TraceAdminPB.RemoveSpanReceiverRequestProto)1