Aborts the driver
Aborts the driver
Opens the connection to Mesos using the FW and master info known by the driver.
Opens the connection to Mesos using the FW and master info known by the driver.
Future that completes once Mesos registered
If no connection related event arrives for this duration, the connection attempt will be considered unsuccessful.
If no connection related event arrives for this duration, the connection attempt will be considered unsuccessful.
The currently connected driver instance (throws exception if not connected).
The currently connected driver instance (throws exception if not connected).
Decline a previously received offer
Decline a previously received offer
Closes the connection to Mesos (with the possibility of reopening it later)
Closes the connection to Mesos (with the possibility of reopening it later)
terminate
Handles the offers as they arrive
Handles the offers as they arrive
Kills a previously launched task
Kills a previously launched task
If no task kill related event arrives for this duration, the kill attempt will be considered unsuccessful.
If no task kill related event arrives for this duration, the kill attempt will be considered unsuccessful.
Tries to launch the specified tasks
by
using the selected offerIds
Tries to launch the specified tasks
by
using the selected offerIds
Futures which are completed successfully if and when the tasks were launched successfully
TaskLauncher.submitTasks
for automatic
offer selection for tasks
If no task launch related event arrives for this duration, the launch attempt will be considered unsuccessful.
If no task launch related event arrives for this duration, the launch attempt will be considered unsuccessful.
We depend on a driver, which actually communicates with Mesos
We depend on a driver, which actually communicates with Mesos
submitTasks
submitTasks
Submits the specified tasks
; the framework
will try to automatically allocate incoming
offers to launch these tasks.
Submits the specified tasks
; the framework
will try to automatically allocate incoming
offers to launch these tasks.
The tasks to launch
Optionally a filter, which can reject allocations (e.g., to implement affinity rules)
Convenience overload, to submit with a filter
Convenience overload, to submit with a filter
Convenience overload, to submit without a filter
Convenience overload, to submit without a filter
This method signifies that it is expected that this framework will never reconnect to Mesos.
This method signifies that it is expected that this framework will never reconnect to Mesos. So Mesos will unregister the framework and shutdown all its tasks and executors
Default implementation of
MesosFramework
andTaskLauncher
togetherSubclasses must provide the
Scheduling
to be used for launching tasks.