I am trying to use s3DistCp to combine some small files in 1 S3 folder to another S3 folder. Script is something like the following:
elastic-mapreduce --jobflow j-33EDUGSQCN0PZ --jar \
/home/hadoop/lib/emr-s3distcp-1.0.jar \
--args '--src,s3://li-test/data, \
--dest,s3://li-test/result, \
--groupBy,[0-9]*,\
--targetSize,128'
But I am getting java.lang.RuntimeException error as following. Help is needed. Thanks!
Exception in thread "main" java.lang.RuntimeException: Argument \
--dest doesn't match.
at emr.hbase.options.Options.parseArguments(Options.java:75)
at emr.hbase.options.Options.parseArguments(Options.java:57)
at com.amazon.elasticmapreduce.s3distcp.S3DistCp$S3DistCpOptions.
(S3DistCp.java:124)
at com.amazon.elasticmapreduce.s3distcp.S3DistCp.run(S3DistCp.java:545)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
at com.amazon.elasticmapreduce.s3distcp.Main.main(Main.java:13)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.hadoop.util.RunJar.main(RunJar.java:187)