@staticmethod
    def run_executor ():
        driver = mesos.MesosExecutorDriver(MesosExecutor())
        sys.exit(0 if driver.run() == mesos_pb2.DRIVER_STOPPED else 1)
run the executor until it is stopped externally by the framework
dataset/ETHPy150Open ceteri/exelixi/src/resource.py/MesosExecutor.run_executor