-
Notifications
You must be signed in to change notification settings - Fork 499
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
exp/lighthorizon/build/index-batch: merge map/reduce updates to latest on feature branch #4543
Merged
sreuland
merged 11 commits into
stellar:lighthorizon
from
sreuland:4475_dockerize_batch_indexer
Aug 17, 2022
Merged
Changes from 1 commit
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
d5c7292
Dockerize indexer to run in AWS Batch
2opremio e12cc83
Parameterize job index env variable (it can't be overriden in Batch)
2opremio 2b9009a
Merge branch 'lighthorizon' into 4475_dockerize_batch_indexer
sreuland 70aebcc
#4475: relocated indexer image docs to exp/lighthorizon/build/index-b…
sreuland 8d148a2
#4475: added alternative k8s batch job definitions for map/reduce
sreuland 0ba708b
Merge remote-tracking branch 'upstream/lighthorizon' into 4475_docker…
sreuland b706613
#4475: fix CI build/test errors
sreuland 65db297
#4475: fixed CI workflow index build test failure
sreuland 78e63a7
Merge remote-tracking branch 'upstream/lighthorizon' into 4475_docker…
sreuland 2329f3c
#4475: added docs on file backend method, pr feedback
sreuland 806b74c
#4475: fixed go fmt warning
sreuland File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
#4475: fix CI build/test errors
- Loading branch information
commit b7066131e9546ab60d1e3f97283e59ae0b4f7793
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comment here as on the other PR - why do we need the name of the name of the value rather than just passing the value itself? e.g.
JOB_INDEX=$AWS_BATCH_JOB_ARRAY_INDEX
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm, good point, this would be a good simplification, might squeeze it in.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh, I think I see why, under different orchestration environments like k8s, aws, that layer injects the job index number as a container env variable, the name can be anything, AWS_BATCH_JOB_ARRAY_INDEX or JOB_COMPLETION_INDEX for k8s, and there is no shell layer like here for interpolation, the only way the app code which got launched in the container deployed on orchestration layer can realistically reference/find the value is to be given the known deployment env var key name for job index instead and app code then performs the 2nd look up against that in env space to get the value.