You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by dm...@apache.org on 2019/07/15 10:53:37 UTC

[incubator-dlab] branch DLAB-433 updated: [DLAB-433] Bugfix

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

dmysakovets pushed a commit to branch DLAB-433
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git


The following commit(s) were added to refs/heads/DLAB-433 by this push:
     new 40c771a  [DLAB-433] Bugfix
40c771a is described below

commit 40c771a211951e48088b1efb2dc245c265bc2205
Author: Dyoma33 <de...@gmail.com>
AuthorDate: Mon Jul 15 13:53:21 2019 +0300

    [DLAB-433] Bugfix
---
 infrastructure-provisioning/src/general/lib/os/fab.py                   | 2 +-
 .../src/general/scripts/aws/jupyter-docker_configure.py                 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/infrastructure-provisioning/src/general/lib/os/fab.py b/infrastructure-provisioning/src/general/lib/os/fab.py
index 5bda129..6cf248a 100644
--- a/infrastructure-provisioning/src/general/lib/os/fab.py
+++ b/infrastructure-provisioning/src/general/lib/os/fab.py
@@ -230,7 +230,7 @@ def ensure_jupyter_docker_files(os_user, jupyter_dir, jupyter_conf_file, docker_
 #            put(templates_dir + 'pyspark_local_template.json', '/tmp/pyspark_local_template.json')
 #            put(templates_dir + 'py3spark_local_template.json', '/tmp/py3spark_local_template.json')
             put('/root/Dockerfile_jupyter', '/tmp/Dockerfile_jupyter')
-            put('/root/scripts/jupyter_run.sh', '/tmp/jupyter_run.sh')
+            put('/root/scripts/*', '/tmp/')
 #            sudo('\cp /tmp/pyspark_local_template.json ' + jupyter_dir + 'pyspark_local_template.json')
 #            sudo('\cp /tmp/py3spark_local_template.json ' + jupyter_dir + 'py3spark_local_template.json')
 #            sudo('sed -i \'s/3.5/3.6/g\' {}py3spark_local_template.json'.format(jupyter_dir))
diff --git a/infrastructure-provisioning/src/general/scripts/aws/jupyter-docker_configure.py b/infrastructure-provisioning/src/general/scripts/aws/jupyter-docker_configure.py
index 85ee26e..877781f 100644
--- a/infrastructure-provisioning/src/general/scripts/aws/jupyter-docker_configure.py
+++ b/infrastructure-provisioning/src/general/scripts/aws/jupyter-docker_configure.py
@@ -144,7 +144,7 @@ if __name__ == "__main__":
         print('[CONFIGURE JUPYTER-DOCKER NOTEBOOK INSTANCE]')
         params = "--hostname {} " \
                  "--keyfile {} " \
-                 "--edge_ip {}" \
+                 "--edge_ip {} " \
                  "--region {} " \
                  "--spark_version {} " \
                  "--hadoop_version {} " \


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