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

Skip file download when permission denied error happens #1

Merged
merged 1 commit into from
Mar 16, 2016

Conversation

sakama
Copy link
Contributor

@sakama sakama commented Mar 16, 2016

Force to skip retrying when FileException happens while downloading file and message contains Permission Denied.

org.embulk.exec.PartialExecutionException: java.lang.RuntimeException: org.apache.commons.vfs2.FileSystemException: Unknown message with code "Permission denied".
    at org.embulk.exec.BulkLoader$LoaderState.buildPartialExecuteException(org/embulk/exec/BulkLoader.java:363)
    at org.embulk.exec.BulkLoader.doRun(org/embulk/exec/BulkLoader.java:572)
    at org.embulk.exec.BulkLoader.access$000(org/embulk/exec/BulkLoader.java:33)
    at org.embulk.exec.BulkLoader$1.run(org/embulk/exec/BulkLoader.java:374)
    at org.embulk.exec.BulkLoader$1.run(org/embulk/exec/BulkLoader.java:370)
    at org.embulk.spi.Exec.doWith(org/embulk/spi/Exec.java:25)
    at org.embulk.exec.BulkLoader.run(org/embulk/exec/BulkLoader.java:370)
    at org.embulk.EmbulkEmbed.run(org/embulk/EmbulkEmbed.java:180)
    at java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:497)
    at RUBY.run(/Users/satoshi/.embulk/bin/embulk!/embulk/runner.rb:84)
    at RUBY.run(/Users/satoshi/.embulk/bin/embulk!/embulk/command/embulk_run.rb:306)
    at RUBY.<top>(/Users/satoshi/.embulk/bin/embulk!/embulk/command/embulk_main.rb:2)

sakama added a commit that referenced this pull request Mar 16, 2016
Skip file download when permission denied error happens
@sakama sakama merged commit d484ad0 into master Mar 16, 2016
@sakama sakama deleted the skip-get-file-when-permission-denied branch March 16, 2016 05:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant