Skip to content
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

com.upplication.s3fs.S3Path error when running with ignite #77

Closed
PhilPalmer opened this issue Aug 22, 2018 · 8 comments
Closed

com.upplication.s3fs.S3Path error when running with ignite #77

PhilPalmer opened this issue Aug 22, 2018 · 8 comments
Labels
bug Something isn't working

Comments

@PhilPalmer
Copy link

PhilPalmer commented Aug 22, 2018

Hey,
I've tried to run the test profile without changing any of the parameters. The only thing I did change was the working directory to an aws S3 path. The command I ran was:

nextflow run nf-core/rnaseq -w s3://workflow-workdir/rnaseq2 -profile test -with-docker -process.executor ignite

This gave the following error com.upplication.s3fs.S3Path as shown below:

screen shot 2018-08-22 at 11 15 05

Nextflow.log file can be found here: nextflow.log

However I have noticed that i do not get the error with an older version of the repo: 2cf2f0f779d39463b09d874449cbb9fdb9f58d2f

So I think some change between that version of the repo and present has caused an error when running rnaseq from an S3 working directory

Any help to fix this error would be much appreciated, thanks in advance

@ewels ewels added the bug Something isn't working label Aug 22, 2018
@ewels
Copy link
Member

ewels commented Aug 22, 2018

Hi @PhilPalmer,

Thanks for the detailed bug report. I guess this is due to this change - we no longer specify executor: 'local' for the process in question. This was removed because such a statement for other processes was causing problems on Kubernetes setups. However, this process is entirely in groovy and uses script, so it should be fine to revert the change I think. I'll put in a PR to revert the change now.

Also note that you're a teeny bit out of date with nextflow, but I doubt that this will have any effect.

Phil

@ewels
Copy link
Member

ewels commented Aug 22, 2018

Also, another thing to try is to use three slashes with the s3 URL - no idea why, but I came across that suggestion from @pditommaso when delving into the nextflow gitter history with google: https://gitter.im/nextflow-io/nextflow?at=580fca4bba810c1d5fd00d6d

@pditommaso
Copy link
Contributor

pditommaso commented Aug 22, 2018

This sounds like a NF bug, however my suggestion is to force the execution of workflow_summary_mqc process locally adding the executor 'local' directory in the main script, because there's no advantage to have it running remotely.

@ewels The problem with K8s you are referring is related to process like get_software_versions.

@ewels
Copy link
Member

ewels commented Aug 22, 2018

Yes, you're exactly right @pditommaso - I was a little over zealous in removing the local statements, but figured that it didn't really hurt (until now!). I've added it back in PR #78.

@pditommaso
Copy link
Contributor

For the records nextflow-io/nextflow#843

@ewels
Copy link
Member

ewels commented Aug 22, 2018

@PhilPalmer - the pull request is now merged. If you could give it a try that would be great! It should work fine if you use -r dev to specify the development branch when running nextflow.

@PhilPalmer
Copy link
Author

@ewels it worked with -r dev. Thank you both for responding so quickly and all your help

@ewels
Copy link
Member

ewels commented Aug 22, 2018

Great stuff, thanks for reporting and testing the fix! This will go out as part of the next stable pipeline release when it's ready.

@ewels ewels closed this as completed Aug 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants