Ensure H2O does not prevent stopping when embedded inside another application

Description

We need to ensure that the the long-running threads are marked as deamon threads, otherwise, for example in case of Spark, when H2O is running and the script reaches the end, Spark won't trigger the shutdown hook as some threads are still running.

This change also allows us to remove hacky non-functional atexit call in PySparkling as we hangle stopping of H2O properly via the shutdown hook

Status

Assignee

Jakub Hava

Fix versions

Reporter

Jakub Hava

Support ticket URL

None

Labels

None

Affected Spark version

None

Customer Request Type

None

Task progress

None

CustomerVisible

No

Priority

Major
Configure