This is an automated email from the ASF dual-hosted git repository. omartushevskyi pushed a commit to branch DLAB-573-dev in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
commit 70a91515bae292393fb607293c0c844cb6e31442 Author: Oleh Martushevskyi <[email protected]> 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 4fbe192..a8f8774 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: [email protected] For additional commands, e-mail: [email protected]
