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