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

Select Copier using yaml file #55

Closed
yashrajrs opened this issue Apr 9, 2018 · 1 comment
Closed

Select Copier using yaml file #55

yashrajrs opened this issue Apr 9, 2018 · 1 comment

Comments

@yashrajrs
Copy link
Contributor

yashrajrs commented Apr 9, 2018

Currently the copier is decided based on the location paths.
So if the replication is from s3 to s3 https://github.com/HotelsDotCom/circus-train/blob/master/circus-train-s3-s3-copier/src/main/java/com/hotels/bdp/circustrain/s3s3copier/S3S3Copier.java is used.

I wish to use for https://github.com/HotelsDotCom/circus-train/blob/master/circus-train-s3-mapreduce-cp-copier/src/main/java/com/hotels/bdp/circustrain/s3mapreducecpcopier/S3MapReduceCpCopier.java for s3 to s3 replication.

Two possible solutions:-
1.) add a config for picking the copier by class name

2.) add a general config like “preferMR”: true and S3S3Copier returns false if that’s true

@ddcprg
Copy link
Contributor

ddcprg commented Apr 11, 2018

Merged in #57

@ddcprg ddcprg closed this as completed Apr 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants