You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by lf...@apache.org on 2021/11/12 08:55:10 UTC

[incubator-datalab] branch develop updated: [DATALAB-2583]: Fixed Zeppelin 502 error after restart

This is an automated email from the ASF dual-hosted git repository.

lfrolov pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git


The following commit(s) were added to refs/heads/develop by this push:
     new 5ee1f68  [DATALAB-2583]: Fixed Zeppelin 502 error after restart
     new c456590  Merge pull request #1338 from owlleg6/develop
5ee1f68 is described below

commit 5ee1f687b57337f5f7797f1b15e336a750d852bd
Author: oleh_mykolaishyn <ow...@gmail.com>
AuthorDate: Thu Nov 11 18:55:36 2021 +0200

    [DATALAB-2583]: Fixed Zeppelin 502 error after restart
---
 .../src/general/scripts/os/update_inactivity_on_start.py                | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/infrastructure-provisioning/src/general/scripts/os/update_inactivity_on_start.py b/infrastructure-provisioning/src/general/scripts/os/update_inactivity_on_start.py
index 8cf85e8..e45aea5 100644
--- a/infrastructure-provisioning/src/general/scripts/os/update_inactivity_on_start.py
+++ b/infrastructure-provisioning/src/general/scripts/os/update_inactivity_on_start.py
@@ -46,6 +46,8 @@ if __name__ == "__main__":
 
     if os.environ['conf_cloud_provider'] == 'azure':
         datalab.actions_lib.ensure_right_mount_paths()
+        if exists(conn, '/etc/systemd/system/zeppelin-notebook.service'):
+            conn.sudo('systemctl restart zeppelin-notebook.service')
     conn.sudo('''bash -c -l "date +%s > /opt/inactivity/{}_inactivity" '''.format(kernel))
 
     conn.close()

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org