sidecar

command
v0.0.0-...-fe8ab6f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

README

Mariner S3 Sidecar

this is a placeholder doc

  • what does this sidecar container do
  • where does it get used by Mariner
  • what config/input values does it require
  • what are the basic steps
  • what are possible future extensions for further functionality

basic steps

  1. load in vars from envVars
  2. configure the AWS interface with the creds
  3. read 's3:///_mariner_s3_paths'
  4. download those files from s3
  5. signal to main to run
  6. wait
  7. upload output (?) files to s3
  8. exit 0

what does the side car container do

the side car container is meant to be an alternative form of file download compared to gen3fuse. It is much more performant compared to gen3fuse. It reads a list of files from _mariner_s3_input.json and download the files from s3 into a local directory. Big caveat is that _mariner_s3_input.json is only able to read files from USER s3 buckets and cannot read from /commons-data as of this moment.

What input values does it require

In your request.json file for a workflow, input a list of files like the example below

"input": { "gds_files": [ { "class": "File", "location": "USER/1KG_ALL.autosomes.phase3_shapeit2_mvncall_integrated_v5a.20130502.genotypes.gds" } ] },

USER will map to the personal s3 bucket of the user who runs the workflow.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL