HBASE-16708 Expose endpoint Coprocessor name in responseTooSlow log messages (Yi Liang)
This commit is contained in:
parent
72438c0223
commit
a8ee83c092
|
@ -2250,6 +2250,9 @@ public final class ProtobufUtil {
|
|||
ClientProtos.MutateRequest r = (ClientProtos.MutateRequest) m;
|
||||
return "region= " + getStringForByteString(r.getRegion().getValue()) +
|
||||
", row=" + getStringForByteString(r.getMutation().getRow());
|
||||
} else if (m instanceof ClientProtos.CoprocessorServiceRequest) {
|
||||
ClientProtos.CoprocessorServiceRequest r = (ClientProtos.CoprocessorServiceRequest) m;
|
||||
return "coprocessorService= " + r.getCall().getServiceName() + ":" + r.getCall().getMethodName();
|
||||
}
|
||||
return "TODO: " + m.getClass().toString();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue