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/02/17 10:30:53 UTC

[incubator-datalab] branch DATALAB-2091 updated (38ef258 -> dcb49d5)

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

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


    from 38ef258  [DATALAB-2091]: fixed exists() usage for fabric2
     new bfa4874  [DATALAB-2091]: removed test line
     new dcb49d5  [DATALAB-2091]: made connection global

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 infrastructure-provisioning/src/base/scripts/install_prerequisites.py | 2 +-
 infrastructure-provisioning/src/general/lib/os/fab.py                 | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)


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


[incubator-datalab] 02/02: [DATALAB-2091]: made connection global

Posted by lf...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit dcb49d5aaece59b29a4ed04ca439b9efd34c13f8
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Wed Feb 17 12:30:37 2021 +0200

    [DATALAB-2091]: made connection global
---
 infrastructure-provisioning/src/base/scripts/install_prerequisites.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/infrastructure-provisioning/src/base/scripts/install_prerequisites.py b/infrastructure-provisioning/src/base/scripts/install_prerequisites.py
index 7268ef7..e82c1aa 100644
--- a/infrastructure-provisioning/src/base/scripts/install_prerequisites.py
+++ b/infrastructure-provisioning/src/base/scripts/install_prerequisites.py
@@ -53,7 +53,7 @@ def create_china_pip_conf_file(conn):
 
 if __name__ == "__main__":
     print("Configure connections")
-    conn = datalab.fab.init_datalab_connection(args.hostname, args.user, args.keyfile)
+    global conn = datalab.fab.init_datalab_connection(args.hostname, args.user, args.keyfile)
     deeper_config = json.loads(args.additional_config)
 
     if args.region == 'cn-north-1':


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


[incubator-datalab] 01/02: [DATALAB-2091]: removed test line

Posted by lf...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit bfa48747cd0f75d4557412ed025ca7570caeab0e
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Wed Feb 17 11:54:50 2021 +0200

    [DATALAB-2091]: removed test line
---
 infrastructure-provisioning/src/general/lib/os/fab.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/infrastructure-provisioning/src/general/lib/os/fab.py b/infrastructure-provisioning/src/general/lib/os/fab.py
index 48251fd..aa78a84 100644
--- a/infrastructure-provisioning/src/general/lib/os/fab.py
+++ b/infrastructure-provisioning/src/general/lib/os/fab.py
@@ -915,7 +915,6 @@ def update_zeppelin_interpreters(multiple_clusters, r_enabled, interpreter_mode=
 def update_hosts_file(os_user, conn):
     try:
         if not exists(conn,'/home/{}/.ensure_dir/hosts_file_updated'.format(os_user)):
-            conn.sudo('ls -lah; pwd; hostname; whoami')
             conn.sudo('sed -i "s/^127.0.0.1 localhost/127.0.0.1 localhost localhost.localdomain/g" /etc/hosts')
             conn.sudo('touch /home/{}/.ensure_dir/hosts_file_updated'.format(os_user))
     except Exception as err:


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