Skip to content

Segmentation fault during S3 file transfer with AWSBatch executor #2514

Answered by manuelesimi
tamuanand asked this question in Q&A
Discussion options

You must be logged in to vote

A better alternative could be to download the folder instead of the (long) list of files:

params.in_csv = 's3://bucket_name/individual_files/
csv_ch = Channel.fromPath(params.in_csv)

and then read the files from the folder in your script:

NUM_FILES=$(ls -1 $PWD/individual_files/*.csv | wc -l)

Replies: 3 comments 12 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@tamuanand
Comment options

@manuelesimi
Comment options

@tamuanand
Comment options

@tamuanand
Comment options

@manuelesimi
Comment options

Comment options

You must be logged in to vote
7 replies
@tamuanand
Comment options

@manuelesimi
Comment options

@tamuanand
Comment options

@manuelesimi
Comment options

@tamuanand
Comment options

Answer selected by tamuanand
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #2513 on December 22, 2021 11:34.