Azure Data Lake Config Issue: No value for dfs.adls.oauth2.access.token.provider found in conf file.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2018 02:52 AM
Hi,
I have files hosted on an Azure Data Lake Store which I can connect from Azure Databricks configured as per instructions here.
I can read JSON files fine, however, I'm getting the following error when I try to read an Avro file.
spark.read.format("com.databricks.spark.avro").load("adl://blah.azuredatalakestore.net/blah/blah.avro")IllegalArgumentException: u'No value for dfs.adls.oauth2.access.token.provider found in conf file.'I made sure that the file existed by running
dbutils.fs.ls("adl://blah.azuredatalakestore.net/blah/blah.avro")Please note that the error refers to
dfs.adls.oauth2.access.token.providernot
dfs.adls.oauth2.access.token.provider.typementioned in the documentation above. Even after I set it to something, it would still throw the same error.
Has anyone experienced this issue before? Please let me know what else I should try to further troubleshoot. Thanks.
Labels:
- Labels:
-
Avro
-
Azure
-
Azure data lake
-
Azure databricks