Sanil15 opened a new pull request #1281: SAMZA-2378: Container Placements 
support for Standby containers enabled jobs
URL: https://github.com/apache/samza/pull/1281
 
 
   **Design:** SEP-22: Container Placements in Samza
   
   **Changes:** Following abilities are added as a part of this PR:
   1. Ability to issue container placement actions for standby enabled jobs on 
active & standby containers
   2. Ability to queue actions if there are any in-flight actions on active or 
its standby or vice-versa
   3. Validate placement actions when standby containers are enabled to ensure 
standby constraints (active container & standby container are not on the same 
host) are not violated
   
   **Tests:**
   Integ test: End-to-end test for standby enabled job is added 
   Manual testing matrix: Container Placement Test Plan
   
   **API Changes:** 
   1. This PR introduces behavior changes when a container placement action is 
written to metastore and is read by JobCoordinator (JC), it will try to reserve 
resources for the request, if it gets the resources it attempts to stop the 
active container then attempts to start the container on the allocated 
resources.
   2. Each placement request is identified by a UUID which is generated and 
given to a client on issuing a control command
   3. Responses for each placement action can be queried by directly queueing 
meta-store by UUID
   
   **Upgrade Instructions:** None
   
   **Usage Instructions:** Instantiate ContainerPlacementMetadataStore to write 
Container placement messages to Metastore, query it by the UUID generated

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to