Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/impala
/ to_host_port
Function
to_host_port
tests/common/network.py:54–57 ·
view source on GitHub ↗
(host, port)
Source
from the content-addressed store, hash-verified
52
53
54
def
to_host_port(host, port):
55
is_ipv6_address =
":"
in host
56
fmt =
"[{0}]:{1}"
if
is_ipv6_address
else
"{0}:{1}"
57
return
fmt.format(host, port)
58
59
60
def
run_openssl_cmd(args, timeout_s=3):
Callers
5
create_impala_client_internal
Method · 0.90
open_debug_webpage
Method · 0.90
create_beeswax_client
Method · 0.90
create_ldap_beeswax_client
Method · 0.90
create_client
Method · 0.90
Calls
1
format
Method · 0.45
Tested by
1
create_impala_client_internal
Method · 0.72