Philip Zeyliger has posted comments on this change. ( http://gerrit.cloudera.org:8080/8788 )
Change subject: IMPALA-6285: Don't print stack trace on RPC errors. ...................................................................... Patch Set 1: (2 comments) Seems reasonable to me. Have you checked that timeouts actually show the RPC name and client address? The only test that I saw that exercised DoRpc was be/src/runtime/data-stream-test.cc; would it make sense to assert something about the status on errors? http://gerrit.cloudera.org:8080/#/c/8788/1/be/src/exec/catalog-op-executor.cc File be/src/exec/catalog-op-executor.cc: http://gerrit.cloudera.org:8080/#/c/8788/1/be/src/exec/catalog-op-executor.cc@279 PS1, Line 279: request, &response, "GetCatalogObject")); We probably frown upon it, but it may be that typeId(request) inside of DoRpc() happens at compile time and avoids the need for changing all of these. On balance, I think explicit (what you have) is better, but I figured I'd ask about our style preferences there. http://gerrit.cloudera.org:8080/#/c/8788/1/be/src/runtime/client-cache.h File be/src/runtime/client-cache.h: http://gerrit.cloudera.org:8080/#/c/8788/1/be/src/runtime/client-cache.h@298 PS1, Line 298: /// Function for returning an error Status for general RPC errors not due to recv nit: "Function for" can be removed (and tenses changed slightly); also in line 310. -- To view, visit http://gerrit.cloudera.org:8080/8788 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: Ia83294494442ef21f7934f92ba9112e80d81fa58 Gerrit-Change-Number: 8788 Gerrit-PatchSet: 1 Gerrit-Owner: Michael Ho <k...@cloudera.com> Gerrit-Reviewer: Mostafa Mokhtar <mmokh...@cloudera.com> Gerrit-Reviewer: Philip Zeyliger <phi...@cloudera.com> Gerrit-Reviewer: Sailesh Mukil <sail...@cloudera.com> Gerrit-Comment-Date: Thu, 07 Dec 2017 04:19:41 +0000 Gerrit-HasComments: Yes