Sailesh Mukil has posted comments on this change.

Change subject: IMPALA-4670: Introduces RpcMgr class
......................................................................


Patch Set 1:

(11 comments)

http://gerrit.cloudera.org:8080/#/c/7901/1//COMMIT_MSG
Commit Message:

Line 16: 
Could you also mention that there are no services that use KRPC, added in this 
patch, and that they'll come in future patches?


http://gerrit.cloudera.org:8080/#/c/7901/2/be/src/rpc/rpc-mgr.cc
File be/src/rpc/rpc-mgr.cc:

PS2, Line 56: CpuInfo::num_cores()
Is it safe to trust CpuInfo across all platforms, dockers and VMs?


PS2, Line 65: Must call RegisterService() before StartServices()
I think this would be clearer as:
"Cannot call RegisterService() after calling StartServices()"


PS2, Line 85: DCHECK(IsResolvedAddress(address));
This is redundant. The DCHECK is already inside TNetworkAddressToSockaddr()


PS2, Line 111: status.IsRemoteError()
Is this necessary? Isn't it implied by:
"err->code() == kudu::rpc::ErrorStatusPB::ERROR_SERVER_TOO_BUSY"

?


http://gerrit.cloudera.org:8080/#/c/7901/2/be/src/rpc/rpc-mgr.h
File be/src/rpc/rpc-mgr.h:

PS2, Line 129: The RPC layer continues to run.
I think this needs a little more explanation, else it's confusing as to what is 
still running.


http://gerrit.cloudera.org:8080/#/c/7901/2/be/src/rpc/rpc-mgr.inline.h
File be/src/rpc/rpc-mgr.inline.h:

PS2, Line 36: DCHECK(IsResolvedAddress(address));
This is redundant. The DCHECK is already inside TNetworkAddressToSockaddr()


http://gerrit.cloudera.org:8080/#/c/7901/2/be/src/runtime/exec-env.h
File be/src/runtime/exec-env.h:

PS2, Line 194: Impala backend server
thrift based Impala backend server


PS2, Line 197: KRPC-based service 
KRPC-based server?


http://gerrit.cloudera.org:8080/#/c/7901/2/be/src/util/network-util.cc
File be/src/util/network-util.cc:

PS2, Line 120: kudu::Sockaddr
just "Sockaddr"


http://gerrit.cloudera.org:8080/#/c/7901/2/be/src/util/network-util.h
File be/src/util/network-util.h:

Line 23: namespace kudu { class Sockaddr; }
namespace kudu {
class Sockaddr;
}


-- 
To view, visit http://gerrit.cloudera.org:8080/7901
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I8adb10ae375d7bf945394c38a520f12d29cf7b46
Gerrit-PatchSet: 1
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Michael Ho <[email protected]>
Gerrit-Reviewer: Michael Ho <[email protected]>
Gerrit-Reviewer: Sailesh Mukil <[email protected]>
Gerrit-HasComments: Yes

Reply via email to