ERROR highlights the line below
.option("tenantId", tenantID)
.load())
org.apache.http.client.HttpResponseException: The specified path does not exist.
Py4JJavaError Traceback (most recent call last)
in ()
4 .option("appId", appID)
5 .option("appKey", appKey)
----> 6 .option("tenantId", tenantID)
7 .load())
/databricks/spark/python/pyspark/sql/readwriter.py in load(self, path, format, schema, **options)
170 return self._df(self._jreader.load(self._spark._sc._jvm.PythonUtils.toSeq(path)))
171 else:
--> 172 return self._df(self._jreader.load())
173
174 @since(1.4)
/databricks/spark/python/lib/py4j-0.10.7-src.zip/py4j/java_gateway.py in __call__(self, *args)
1255 answer = self.gateway_client.send_command(command)
1256 return_value = get_return_value(
-> 1257 answer, self.gateway_client, self.target_id, self.name)
1258
1259 for temp_arg in temp_args:
### Expected/desired behavior
I expect the Notebook to execute correctly.
### OS and Version?
MacOS - but everything is done through browser and Azure
### Versions
Not sure what is sought after here. I configured the cluster using the article versions.
### Mention any other details that might be useful
None that I can think of.
Could be either, or a user error
Minimal steps to reproduce
Configured the secrets per the tutorial. Triple checked that I have the tenantID correct from AAD. Run the whole notebook. Get the error.
I also attempted to hard code the tenantID and got the same error
Any log messages given by the failure
salesOrderDf = (spark.read.format("com.microsoft.cdm") .option("cdmModel", inputLocation) .option("entity", "Sales Orders") .option("appId", appID) .option("appKey", appKey)
ERROR highlights the line below .option("tenantId", tenantID)
org.apache.http.client.HttpResponseException: The specified path does not exist.
Py4JJavaError Traceback (most recent call last)