Skip to content

document MNP jobs execution#709

Open
HarshCasper wants to merge 1 commit into
mainfrom
doc-228-doc-batch-mnp-jobs-execution
Open

document MNP jobs execution#709
HarshCasper wants to merge 1 commit into
mainfrom
doc-228-doc-batch-mnp-jobs-execution

Conversation

@HarshCasper

Copy link
Copy Markdown
Member

Fixes DOC-228

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying localstack-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: b8a2621
Status: ✅  Deploy successful!
Preview URL: https://d0cdf84c.localstack-docs.pages.dev
Branch Preview URL: https://doc-228-doc-batch-mnp-jobs-e.localstack-docs.pages.dev

View logs

@nik-localstack nik-localstack left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding this. I have a few comments about the structure.


Array jobs are supported in sequential mode only.

[Multi-node parallel jobs](#multi-node-parallel-jobs) are supported on EC2-backed compute environments only.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: Why do we document this ? That's a real AWS contraint.

Comment on lines +238 to +242
A few behaviors to keep in mind:

- The parent job's outcome follows the main node.
- A worker failure does not fail the parent.
- Terminating the parent job stops all of its nodes.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This reads like they're localstack only limitation but they are also happening in AWS. I suggest we remove them.

- Terminating the parent job stops all of its nodes.

### Node environment variables
In addition to the [standard Batch environment variables](#current-limitations), each node receives the following multi-node parallel variables:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's strange that we anchor to the current limitation. Can we create a separate section where we list the supported env vars. That way we won't need to duplicate the MNP variables.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants