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

Method is_coordinator

tests/common/impala_cluster.py:648–651  ·  view source on GitHub ↗

Returns boolean True or False depending on whether or not the current process is a coordinator. Both exclusive and non-exclusive coordinators will return true.

(self)

Source from the content-addressed store, hash-verified

646 return int(self._get_port('hs2_http_port', DEFAULT_HS2_HTTP_PORT))
647
648 def is_coordinator(self):
649 """Returns boolean True or False depending on whether or not the current process is
650 a coordinator. Both exclusive and non-exclusive coordinators will return true."""
651 return self._get_arg_value("is_coordinator", "true") == "true"
652
653 def start(self, wait_until_ready=True, timeout=30):
654 """Starts the impalad and waits until the service is ready to accept connections.

Callers 7

get_all_coordinatorsMethod · 0.80
HasAvailableSlotsMethod · 0.80
is_active_coordinatorFunction · 0.80
UpdateMembershipMethod · 0.80
ComputeMethod · 0.80
BackendsHandlerMethod · 0.80

Calls 1

_get_arg_valueMethod · 0.80

Tested by 1

ComputeMethod · 0.64