You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hadoop.apache.org by Divya Gehlot <di...@gmail.com> on 2016/07/26 04:47:11 UTC

[How To :]Copy Merge + S3 File System

Hi,

val srcPath =  s3n://bucket_name_1
> val dstPath =s3n://bucket_name_2
> val config = new Configuration()
> val fs = FileSystem.get(URI.create(srcPath), config)
> FileUtil.copyMerge(fs, new Path(srcPath), fs, new Path(dstPath), false,
> config, null)


I am trying to use Copymerge .. Its not throwing error but its not merging
the files from one bucket to another .

Would really appreciate the help.

Thanks,
Divya