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 "Sandy Ryza (JIRA)" <ji...@apache.org> on 2012/09/06 02:52:08 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=13449320#comment-13449320 ]
Sandy Ryza commented on HADOOP-8431:
------------------------------------
I reproduced it as well. A usage() statement is printed in addition to the error - is the change to be made just removing the "Invalid arguments: Target path not specified" printed to System.err? Or the ERROR log statement as well?
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira