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

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


The following commit(s) were added to refs/heads/DLAB-483 by this push:
     new 0848a23  fixed typo
0848a23 is described below

commit 0848a23978399540d552daaaa854ce7896b5863b
Author: Oleh Martushevskyi <[email protected]>
AuthorDate: Wed Mar 20 18:03:28 2019 +0200

    fixed typo
---
 infrastructure-provisioning/src/general/scripts/os/reconfigure_spark.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/infrastructure-provisioning/src/general/scripts/os/reconfigure_spark.py 
b/infrastructure-provisioning/src/general/scripts/os/reconfigure_spark.py
index 246f103..9be3147 100644
--- a/infrastructure-provisioning/src/general/scripts/os/reconfigure_spark.py
+++ b/infrastructure-provisioning/src/general/scripts/os/reconfigure_spark.py
@@ -61,7 +61,7 @@ if __name__ == "__main__":
             sudo('mv /tmp/notebook_reconfigure_dataengine_spark.py '
                  '/usr/local/bin/notebook_reconfigure_dataengine_spark.py')
         sudo('mkdir -p /tmp/{}'.format(args.cluster_name))
-        put(templates_dir + 'notebook_spark-defaults_local.conf',
+        put('{}notebook_spark-defaults_local.conf'.format(templates_dir),
             
'/tmp/{}/notebook_spark-defaults_local.conf'.format(args.cluster_name), 
use_sudo=True)
         cluster_dir = '/opt/' + args.cluster_name + '/'
         if 'azure_datalake_enable' in os.environ:


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to