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

Method restart

tests/common/impala_cluster.py:535–539  ·  view source on GitHub ↗

Kills and restarts the process

(self, signal=SIGKILL)

Source from the content-addressed store, hash-verified

533 check_call(["docker", "container", "start", self.container_id])
534
535 def restart(self, signal=SIGKILL):
536 """Kills and restarts the process"""
537 self.kill(signal=signal)
538 self.wait_for_exit()
539 self.start()
540
541 def wait_for_exit(self):
542 """Wait until the process exits (or return immediately if it already has exited."""

Callers

nothing calls this directly

Calls 3

killMethod · 0.95
wait_for_exitMethod · 0.95
startMethod · 0.95

Tested by

no test coverage detected