Closed YuvalItzchakov closed 7 years ago
Hi Yuval, That sounds like a great idea! Looks like these details were exposed already two years ago, so I assume it's not even a Spark 2.0 addition (this client was tested as working from version 1.5 and up). Looking forward to your PR!
Yonatan
@YuvalItzchakov A new version incorporating your changes is now on maven central
Yay! Thanks @ywilkof :)
Hi Yonatan,
When executing a request for driver status:
We only get back the
DriverState
object which shows us the driver of the status. If you expose the fullJobStatusResponse
, one could take the location of the driver (to know which worker it runs on) and query Sparks driver API to get status regarding the actual running applications.I'd be glad to supply a pull request which extends this, perhaps something along the lines of:
withSubmissionIdFullStatus
to the API so it won't be a breaking change.Or perhaps, even a better approach would be to return this information when submitting the application, since Spark returns a full response like this:
What do you think?
Regards, Yuval.