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 "Steve Loughran (JIRA)" <ji...@apache.org> on 2012/05/26 23:51:23 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=13284073#comment-13284073 ] 

Steve Loughran commented on HADOOP-8431:
----------------------------------------

What was the expected behaviour? A usage() statement?
                
> 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