Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2024 02:29 AM
@szymon_dybczak I have tried using it directly as well as the http path mentioned in the image you have posted. I have even tried using the spark ui url and even the url with only the cluster id. Nothing has worked for me. Perhaps if possible could you show me a dummy url which works with the Spark REST API for accessing jobs and stages.
For ex. sending request to this url - https://adb-1234.0.azuredatabricks.net/api/v1/applications yields following error:
{
"error": "Bad Target: /api/v1/applications"
}
Even if we add the http path mentioned like: https://adb-1234.azuredatabricks.net/sql/protocolv1/o/4567/cluster_id/api/v1/applications
we get the error Path must be of form /sql/protocolv1/o/<orgId>/<clusterIdent>
The errors are quite obvious but we don't know which url to use in order to remove them.
Even if we add the http path mentioned like: https://adb-1234.azuredatabricks.net/sql/protocolv1/o/4567/cluster_id/api/v1/applications
we get the error Path must be of form /sql/protocolv1/o/<orgId>/<clusterIdent>
The errors are quite obvious but we don't know which url to use in order to remove them.