Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • `job.container.validator.enabled` to control if we should enable the container validator on the container side
  • `job.container.validator.schedule.ms` to control the time period between validation checks between container and JobCoordinator
  • set an environment variable with the "Execution Resource ID" during container launch. This can be read from the container to make requests to the above endpoint.
  • In order to shutdown the run loop from the validator thread I plan to create a new interface called Killable: 

    Code Block
    languagejava
    public interface Killable {
      void shutdown();
    }


    Since shutdown() is already implemented by the RunLoop and AsyncRunLoop, we can pass a Killable type

    Implement a new interface "Killable" which has "shutdown()" as a method. This can be implemented the RunLoop and AsyncRunLoop. The reason for this is so that the run loop can be passed

    to the validator thread to

    call shutdown

    shutdown the run loop if the container is invalid.

Implementation and Test Plan

...