You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Daisuke Kobayashi (JIRA)" <ji...@apache.org> on 2012/06/17 09:28:42 UTC
[jira] [Commented] (HADOOP-8431) Running distcp wo args throws
IllegalArgumentException
[ https://issues.apache.org/jira/browse/HADOOP-8431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13393481#comment-13393481 ]
Daisuke Kobayashi commented on HADOOP-8431:
-------------------------------------------
I guess this has been fixed by MAPREDUCE-2765. If args are null, OptionsParser.usage() method would be called in DistCp.java.
> Running distcp wo args throws IllegalArgumentException
> ------------------------------------------------------
>
> Key: HADOOP-8431
> URL: https://issues.apache.org/jira/browse/HADOOP-8431
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 2.0.0-alpha
> Reporter: Eli Collins
> Labels: newbie
>
> Running distcp w/o args results in the following:
> {noformat}
> hadoop-3.0.0-SNAPSHOT $ ./bin/hadoop distcp
> 12/05/23 18:49:04 ERROR tools.DistCp: Invalid arguments:
> java.lang.IllegalArgumentException: Target path not specified
> at org.apache.hadoop.tools.OptionsParser.parse(OptionsParser.java:86)
> at org.apache.hadoop.tools.DistCp.run(DistCp.java:102)
> at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
> at org.apache.hadoop.tools.DistCp.main(DistCp.java:368)
> Invalid arguments: Target path not specified
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira