Using the library polling to poll Spark when tasks are complete from bg tasks.
Currently, waiting for available from response headers, and polling infinitely. This seems to work so far, given even an error in a Spark job returns available. But there are likely edge cases like Spark goes down or is reset, which would return something different. Need to figure these out and handle.
Using the library polling to poll Spark when tasks are complete from bg tasks.
Currently, waiting for
available
from response headers, and polling infinitely. This seems to work so far, given even an error in a Spark job returnsavailable
. But there are likely edge cases like Spark goes down or is reset, which would return something different. Need to figure these out and handle.