How to use the sparkmagic.utils.configuration.livy_server_heartbeat_timeout_seconds function in sparkmagic

To help you get started, we’ve selected a few sparkmagic examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github jupyter-incubator / sparkmagic / sparkmagic / sparkmagic / livyclientlib / sparkcontroller.py View on Github external
def _livy_session(http_client, properties, ipython_display,
                      session_id=-1):
        return LivySession(http_client, properties, ipython_display,
                           session_id, heartbeat_timeout=conf.livy_server_heartbeat_timeout_seconds())
github jupyter-incubator / sparkmagic / sparkmagic / sparkmagic / livyclientlib / sparkcontroller.py View on Github external
def _livy_session(http_client, properties, ipython_display,
                      session_id=-1, sql_created=None):
        return LivySession(http_client, properties, ipython_display,
                           session_id, sql_created, heartbeat_timeout=conf.livy_server_heartbeat_timeout_seconds())