Skip to content

Specifying destination in ProcessingOutput silently fails - and does not write to the destination S3 bucket #33

@cfregly

Description

@cfregly

This works:

sklearn_processor.run(code='preprocess-scikit.py',
                                       outputs=[ProcessingOutput(output_name='train_data', 
                                                                   source='/opt/ml/processing/output/train'),

This silently fails and does not write to the output s3 location:

s3_output_train_data = 's3://{}/{}/train'.format(bucket, output_prefix)

sklearn_processor.run(code='preprocess-scikit.py',
                                       outputs=[ProcessingOutput(output_name='train_data',
                                                                      source='/opt/ml/processing/output/train',
                                                                      destination=s3_output_train_data),

(Spent lots of time debugging this ^^)

Any suggestions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions