MCPcopy Create free account
hub / github.com/apache/impala / IsResolvedAddress

Function IsResolvedAddress

be/src/util/network-util.cc:133–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131}
132
133bool IsResolvedAddress(const TNetworkAddress& addr) {
134 kudu::Sockaddr sock;
135 return sock.ParseString(addr.hostname, addr.port).ok();
136}
137
138bool IsResolvedAddress(const NetworkAddressPB& addr) {
139 kudu::Sockaddr sock;

Callers 10

LookUpKrpcHostMethod · 0.85
GetProxyMethod · 0.85
InitMethod · 0.85
ChannelMethod · 0.85
SetExternalPlanMethod · 0.85

Calls 4

hostnameMethod · 0.80
okMethod · 0.45
ParseStringMethod · 0.45
portMethod · 0.45

Tested by

no test coverage detected