Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Bug fix referring #66
Fixs in local file system, AWS S3 bucket, Hadoop file system.
For tests:
Run Pipeline action first, copy the result protocol, pass it wrong in Predictor Preparation action.
Engine executor should show error log with message like: "Invalid protocol: pipeline_336a66ca-4969-4e6e-a30d-b7756dd148d, reload action canceled!"
Pass the same protocol again correctly, and perform Predict action, the Predictor should be able to do your job instead of showing error message.
For AWS S3 test, set artifactManagerType in engine metadata to "S3", add s3BucketName key, and don't forget to set environment variables:
AWS_ACCESS_KEY_ID,
AWS_SECRET_ACCESS_KEY,
AWS_DEFAULT_REGION
For Hadoop test, set artifactManagerType to "HDFS", add hdfsHost key, and don't forget to set environment variables:
HADOOP_CONF_DIR