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)
| 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. |