HBASE-16708 Expose endpoint Coprocessor name in responseTooSlow log messages (Yi Liang)
This commit is contained in:
parent
0a171717e7
commit
26e3164481
@ -2844,7 +2844,12 @@ public final class ProtobufUtil {
|
|||||||
ClientProtos.MutateRequest r = (ClientProtos.MutateRequest) m;
|
ClientProtos.MutateRequest r = (ClientProtos.MutateRequest) m;
|
||||||
return "region= " + getStringForByteString(r.getRegion().getValue()) +
|
return "region= " + getStringForByteString(r.getRegion().getValue()) +
|
||||||
", row=" + getStringForByteString(r.getMutation().getRow());
|
", 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();
|
return "TODO: " + m.getClass().toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user