bharathv commented on a change in pull request #872: HBASE-23333 Provide call context around timeouts and other failure scenarios URL: https://github.com/apache/hbase/pull/872#discussion_r351427841
########## File path: hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/Call.java ########## @@ -78,8 +78,13 @@ protected Call(int id, final Descriptors.MethodDescriptor md, Message param, @Override public String toString() { - return "callId: " + this.id + " methodName: " + this.md.getName() + " param {" - + (this.param != null ? ProtobufUtil.getShortTextFormat(this.param) : "") + "}"; + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE) Review comment: nice.. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services