hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Divya Gehlot <divya.htco...@gmail.com>
Subject [How To :]Copy Merge + S3 File System
Date Tue, 26 Jul 2016 04:47:11 GMT
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

Mime
View raw message