Giter Site home page Giter Site logo

golang_prog_fusionfs_debug's Introduction

Reduced, generalised example workflow that causes FusionFS to crash. The workflow runs 50 tasks of a single process, and I observed a failure rate of ~10% in our environment.

Tracking investigation in the Nextflow Slack workspace.

Please see misc/fusionfs_debug.go and corresponding misc/README.md for process that triggers the FusionFS error.

# Set some variables
bucket_name=umccr-temp-dev
bucket_key_base=stephen/golang_prog_fusionfs_debug

inputs_dir=s3://${bucket_name}/${bucket_key_base}/input/

nxf_workdir=s3://${bucket_name}/${bucket_key_base}/scratch/
nxf_outdir=s3://${bucket_name}/${bucket_key_base}/output/


# Clone GH repo, upload data
git clone https://github.com/scwatts/golang_prog_fusionfs_debug/ && cd golang_prog_fusionfs_debug/

# NOTE(SW): Inputs must be two separate files in different S3 'directories' to trigger
base64 < /dev/random 2>/dev/null | head -c$(( 1500 * 1024 )) > file_a.txt
base64 < /dev/random 2>/dev/null | head -c256 > file_b.txt

aws s3 cp file_a.txt ${inputs_dir%/}/directory_a/file_a.txt
aws s3 cp file_b.txt ${inputs_dir%/}/directory_b/file_b.txt


# Run
NXF_VER=23.09.1-edge nextflow -config nextflow_aws.config run fusionfs_debug.nf \
  -ansi-log false \
  -work-dir ${nxf_workdir} \
  --file_a ${inputs_dir%/}/directory_a/file_a.txt \
  --file_b ${inputs_dir%/}/directory_b/file_b.txt \
  --outdir ${nxf_outdir}

golang_prog_fusionfs_debug's People

Contributors

jordeu avatar scwatts avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.