Get Spark pod logs
import requests
url = "https://{FUSION HOST}/api/spark/driver/log/{id}"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)"<string>"Get Spark pod logs
Get the initial logs that contain information about the Spark pod spin-up for a job.
GET
/
spark
/
driver
/
log
/
{id}
Get Spark pod logs
import requests
url = "https://{FUSION HOST}/api/spark/driver/log/{id}"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)"<string>"Authorizations
Basic authAPI key
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Headers
Path Parameters
The name of the job configuration for which to retrieve logs.
Query Parameters
Response
200 - text/plain
OK
The response is of type file.
Was this page helpful?
⌘I