94510afed9
Check periodically if host continues to be a leader once elected. Failure to check might lead to a situation where the host has lost leadership but is not aware of the situation. If the host is no longer the leader then stand down as a leader, stop any spark-submit processes running on the node and reset state in the transform thread. Removed --supervise option when invoking spark-submit to turn off built in driver management. Added some hardening to better catch exceptions in main transform service thread and also periodic leader check function so that the threads don't die when they encounter an unhandled exception. Change-Id: If2e13e3ed6cb30b3d7fa5f1b440c4c39b87692be |
||
---|---|---|
.. | ||
functional | ||
unit | ||
__init__.py |