monasca-transform/tests/unit
Ashwin Agate 94510afed9 Check periodically if host is leader
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
2017-07-05 23:13:29 -07:00
..
processor Fix development environment and functional tests 2017-04-11 12:13:25 -07:00
service Check periodically if host is leader 2017-07-05 23:13:29 -07:00
test_resources/config Check periodically if host is leader 2017-07-05 23:13:29 -07:00
__init__.py Corrected test environment 2016-11-22 10:24:07 +00:00