nextflow-io / nextflow-io/nextflow

Cannot use aws cli when the fargateMode is true

Open
#5,835 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

executor/aws-batch stale
Dominant language
Groovy
Stars
3.5k
Forks
811
Avg merge
2d 11h
Merged PRs (30d)
61

Description

Bug report

Cannot use aws cli when the fargateMode is true。

Expected behavior and actual behavior

We plan to run nextflow on AWS batch and configured the cliPath. But it doesn't work. Nextflow still use s5cmd to download files from S3 bucket.
nextflow.config
'''
aws.batch.platformType = 'fargate'
aws.batch.cliPath = '/usr/bin/aws'
'''

" s5cmdPath = fargateMode ? parses5cmdPath(opts.cliPath as String) : null"
https://github.com/nextflow-io/nextflow/blob/master/plugins/nf-amazon/src/main/nextflow/cloud/aws/config/AwsBatchConfig.groovy#L105

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read plugins/nf-amazon/src/main/nextflow/cloud/aws/config/AwsBatchConfig.groovy around line 105 first, using the reported fargate platformType and cliPath configuration to trace the selected download tool. Done means AWS Batch in Fargate mode uses the configured AWS CLI rather than s5cmd for S3 downloads.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, groovy
Domain
cloud
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.