prfB.setMaxMemoryUsed(allocator.getPeakMemoryAllocation()); prfB.setEndTime(System.currentTimeMillis()); prfB.setEndpoint(endpoint); for(OperatorStats o : operators){ prfB.addOperatorProfile(o.getProfile());
break; case 9: builder.setEndpoint(input.mergeObject(com.dremio.exec.proto.CoordinationProtos.NodeEndpoint.newBuilder(), com.dremio.exec.proto.SchemaCoordinationProtos.NodeEndpoint.MERGE));
public FragmentData(final FragmentHandle handle, final NodeEndpoint endpoint) { this.endpoint = endpoint; final MinorFragmentProfile f = MinorFragmentProfile.newBuilder() .setState(FragmentState.SENDING) .setMinorFragmentId(handle.getMinorFragmentId()) .setEndpoint(endpoint) .build(); status = FragmentStatus.newBuilder() .setHandle(handle) .setProfile(f) .build(); }