You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by om...@apache.org on 2019/03/27 10:37:33 UTC
[incubator-dlab] 01/01: [DLAB-573]:fixed issue with azure_client_id
This is an automated email from the ASF dual-hosted git repository.
omartushevskyi pushed a commit to branch DLAB-573
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
commit d3759ce5e62ffcd432a7627f37e17e21ca00de61
Author: Oleh Martushevskyi <Ol...@epam.com>
AuthorDate: Wed Mar 27 12:37:20 2019 +0200
[DLAB-573]:fixed issue with azure_client_id
---
infrastructure-provisioning/src/general/lib/azure/actions_lib.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/infrastructure-provisioning/src/general/lib/azure/actions_lib.py b/infrastructure-provisioning/src/general/lib/azure/actions_lib.py
index 2719ec4..bf43464 100644
--- a/infrastructure-provisioning/src/general/lib/azure/actions_lib.py
+++ b/infrastructure-provisioning/src/general/lib/azure/actions_lib.py
@@ -1103,7 +1103,7 @@ def configure_local_spark(jars_dir, templates_dir, memory_type='driver'):
sudo('sed -i "s|USER_ACCOUNT_KEY|{}|g" /tmp/core-site.xml'.format(user_storage_account_key))
sudo('sed -i "s|SHARED_ACCOUNT_KEY|{}|g" /tmp/core-site.xml'.format(shared_storage_account_key))
if os.environ['azure_datalake_enable'] == 'true':
- client_id = os.environ['azure_client_id']
+ client_id = os.environ['azure_application_id']
refresh_token = os.environ['azure_user_refresh_token']
sudo('sed -i "s|CLIENT_ID|{}|g" /tmp/core-site.xml'.format(client_id))
sudo('sed -i "s|REFRESH_TOKEN|{}|g" /tmp/core-site.xml'.format(refresh_token))
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org