You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to create the core.AzureDLFileSystem Object I am getting following exception.
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.7/site-packages/azure/datalake/store/core.py", line 72, in __init__
self.connect()
File "/usr/local/lib/python3.7/site-packages/azure/datalake/store/core.py", line 90, in connect
self.azure = DatalakeRESTInterface(token=self.token, req_timeout_s=self.per_call_timeout_seconds, **self.kwargs)
File "/usr/local/lib/python3.7/site-packages/azure/datalake/store/lib.py", line 273, in __init__
self._check_token() # Retryable method. Will ensure that signed_session token is current when we set it on next line
File "/usr/local/lib/python3.7/site-packages/azure/datalake/store/lib.py", line 307, in _check_token
check_token_internal()
File "/usr/local/lib/python3.7/site-packages/azure/datalake/store/retry.py", line 93, in f_retry
out = func(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/azure/datalake/store/lib.py", line 303, in check_token_internal
cur_session = self.token.signed_session()
AttributeError: 'str' object has no attribute 'signed_session'
SDK Version: What version of the SDK are you using? (pip show azure-datalake-store)
Answer here:
Name: azure-datalake-store
Version: 0.0.47
Summary: Azure Data Lake Store Filesystem Client Library for Python
Home-page: https://github.com/Azure/azure-data-lake-store-python
Author: Microsoft Corporation
Author-email: [email protected]
License: MIT License
Location: /usr/local/lib/python3.7/site-packages
Requires: adal, cffi, requests
Required-by:
Python Version: What Python version are you using? Is it 64-bit or 32-bit?
Answer here:
64 bit Python 3.7.4 for mac
Python 3.7.4 (default, Jul 9 2019, 18:13:23)
[Clang 10.0.1 (clang-1001.0.46.4)] on darwin
OS Version: What OS and version are you using?
Answer here: Mac 10.14.6
Shell Type: What shell are you using? (e.g. bash, cmd.exe, Bash on Windows)
Answer here: Bash
The text was updated successfully, but these errors were encountered:
For some reason the 1st parameter of AzureDLFileSystem is token rather than store_name, so myadlsfilesystem is passed as token rather than the real token variable token. adl = core.AzureDLFileSystem(store_name'myadlsfilesystem', token=token) will fix this issue.
Description
When I try to create the
core.AzureDLFileSystem
Object I am getting following exception.Reproduction Steps
tannent_id, username and password has changed.
Environment summary
SDK Version: What version of the SDK are you using? (pip show azure-datalake-store)
Answer here:
Name: azure-datalake-store
Version: 0.0.47
Summary: Azure Data Lake Store Filesystem Client Library for Python
Home-page: https://github.com/Azure/azure-data-lake-store-python
Author: Microsoft Corporation
Author-email: [email protected]
License: MIT License
Location: /usr/local/lib/python3.7/site-packages
Requires: adal, cffi, requests
Required-by:
Python Version: What Python version are you using? Is it 64-bit or 32-bit?
Answer here:
64 bit Python 3.7.4 for mac
Python 3.7.4 (default, Jul 9 2019, 18:13:23)
[Clang 10.0.1 (clang-1001.0.46.4)] on darwin
OS Version: What OS and version are you using?
Answer here: Mac 10.14.6
Shell Type: What shell are you using? (e.g. bash, cmd.exe, Bash on Windows)
Answer here: Bash
The text was updated successfully, but these errors were encountered: