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 "Eli Collins (JIRA)" <ji...@apache.org> on 2012/05/24 03:51:40 UTC
[jira] [Created] (HADOOP-8431) Running distcp wo args throws
IllegalArgumentException
Eli Collins created HADOOP-8431:
-----------------------------------
Summary: 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
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
[jira] [Reopened] (HADOOP-8431) Running distcp wo args throws
IllegalArgumentException
Posted by "Eli Collins (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eli Collins reopened HADOOP-8431:
---------------------------------
I just tried this and confirmed it still fails with the latest build. In the future please try to reproduce the issue before you close it.
hadoop-3.0.0-SNAPSHOT $ ./bin/hadoop distcp
12/07/23 19:21:48 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)
> 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
[jira] [Commented] (HADOOP-8431) Running distcp wo args throws
IllegalArgumentException
Posted by "Daisuke Kobayashi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13393486#comment-13393486 ]
Daisuke Kobayashi commented on HADOOP-8431:
-------------------------------------------
I'll close this issue.
> 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
[jira] [Updated] (HADOOP-8431) Running distcp wo args throws
IllegalArgumentException
Posted by "Sandy Ryza (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sandy Ryza updated HADOOP-8431:
-------------------------------
Attachment: diff1.txt
> 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
> Attachments: diff1.txt
>
>
> 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
[jira] [Commented] (HADOOP-8431) Running distcp wo args throws
IllegalArgumentException
Posted by "Daisuke Kobayashi (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Resolved] (HADOOP-8431) Running distcp wo args throws
IllegalArgumentException
Posted by "Sho Shimauchi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sho Shimauchi resolved HADOOP-8431.
-----------------------------------
Resolution: Cannot Reproduce
closing this JIRA.
I've checked with Daisuke this issue is already fixed in MAPREDUCE-2765.
Thanks for checking!
> 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
[jira] [Commented] (HADOOP-8431) Running distcp wo args throws
IllegalArgumentException
Posted by "Steve Loughran (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Commented] (HADOOP-8431) Running distcp wo args throws
IllegalArgumentException
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13450592#comment-13450592 ]
Hudson commented on HADOOP-8431:
--------------------------------
Integrated in Hadoop-Hdfs-trunk #1158 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1158/])
HADOOP-8431. Running distcp wo args throws IllegalArgumentException. Contributed by Sandy Ryza (Revision 1381840)
Result = FAILURE
eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1381840
Files :
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-tools/hadoop-distcp/src/main/java/org/apache/hadoop/tools/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
> Assignee: Sandy Ryza
> Labels: newbie
> Fix For: 2.2.0-alpha
>
> Attachments: diff1.txt
>
>
> 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
[jira] [Updated] (HADOOP-8431) Running distcp wo args throws
IllegalArgumentException
Posted by "Eli Collins (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eli Collins updated HADOOP-8431:
--------------------------------
Target Version/s: 2.2.0-alpha (was: 2.1.0-alpha)
> 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
[jira] [Commented] (HADOOP-8431) Running distcp wo args throws
IllegalArgumentException
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13450279#comment-13450279 ]
Hudson commented on HADOOP-8431:
--------------------------------
Integrated in Hadoop-Mapreduce-trunk-Commit #2725 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2725/])
HADOOP-8431. Running distcp wo args throws IllegalArgumentException. Contributed by Sandy Ryza (Revision 1381840)
Result = FAILURE
eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1381840
Files :
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-tools/hadoop-distcp/src/main/java/org/apache/hadoop/tools/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
> Assignee: Sandy Ryza
> Labels: newbie
> Fix For: 2.2.0-alpha
>
> Attachments: diff1.txt
>
>
> 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
[jira] [Commented] (HADOOP-8431) Running distcp wo args throws
IllegalArgumentException
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13450276#comment-13450276 ]
Hudson commented on HADOOP-8431:
--------------------------------
Integrated in Hadoop-Hdfs-trunk-Commit #2764 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2764/])
HADOOP-8431. Running distcp wo args throws IllegalArgumentException. Contributed by Sandy Ryza (Revision 1381840)
Result = SUCCESS
eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1381840
Files :
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-tools/hadoop-distcp/src/main/java/org/apache/hadoop/tools/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
> Assignee: Sandy Ryza
> Labels: newbie
> Fix For: 2.2.0-alpha
>
> Attachments: diff1.txt
>
>
> 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
[jira] [Commented] (HADOOP-8431) Running distcp wo args throws
IllegalArgumentException
Posted by "Eli Collins (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13450248#comment-13450248 ]
Eli Collins commented on HADOOP-8431:
-------------------------------------
+1 looks great, verified the fix on a trunk tarball.
> 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
> Assignee: Sandy Ryza
> Labels: newbie
> Attachments: diff1.txt
>
>
> 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
[jira] [Assigned] (HADOOP-8431) Running distcp wo args throws
IllegalArgumentException
Posted by "Eli Collins (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eli Collins reassigned HADOOP-8431:
-----------------------------------
Assignee: Sandy Ryza
> 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
> Assignee: Sandy Ryza
> Labels: newbie
> Attachments: diff1.txt
>
>
> 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
[jira] [Updated] (HADOOP-8431) Running distcp wo args throws
IllegalArgumentException
Posted by "Sandy Ryza (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sandy Ryza updated HADOOP-8431:
-------------------------------
Status: Patch Available (was: Reopened)
> 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
[jira] [Commented] (HADOOP-8431) Running distcp wo args throws
IllegalArgumentException
Posted by "Sho Shimauchi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13450299#comment-13450299 ]
Sho Shimauchi commented on HADOOP-8431:
---------------------------------------
Hi Eli and Sandy,
I apologize for not having checked this issue carefully.
Thanks for taking this and writing a patch!
> 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
> Assignee: Sandy Ryza
> Labels: newbie
> Fix For: 2.2.0-alpha
>
> Attachments: diff1.txt
>
>
> 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
[jira] [Commented] (HADOOP-8431) Running distcp wo args throws
IllegalArgumentException
Posted by "Sandy Ryza (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Commented] (HADOOP-8431) Running distcp wo args throws
IllegalArgumentException
Posted by "Eli Collins (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13449384#comment-13449384 ]
Eli Collins commented on HADOOP-8431:
-------------------------------------
It should just print the usage. Eg in the following I'd remove the ERROR log, the IllegalArgumentException backtrace and the "Invalid arguments" log.
{noformat}
$ ./bin/hadoop distcp
12/09/05 20:38:26 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
usage: distcp OPTIONS [source_path...] <target_path>
OPTIONS
-async Should distcp execution be blocking
-atomic Commit all changes or none
-bandwidth <arg> Specify bandwidth per map in MB
-delete Delete from target, files missing in source
-f <arg> List of files that need to be copied
-filelimit <arg> (Deprecated!) Limit number of files copied to <= n
-i Ignore failures during copy
-log <arg> Folder on DFS where distcp execution logs are
saved
-m <arg> Max number of concurrent maps to use for copy
-mapredSslConf <arg> Configuration for ssl config file, to use with
hftps://
-overwrite Choose to overwrite target files unconditionally,
even if they exist.
-p <arg> preserve status (rbugp)(replication, block-size,
user, group, permission)
-sizelimit <arg> (Deprecated!) Limit number of files copied to <= n
bytes
-skipcrccheck Whether to skip CRC checks between source and
target paths.
-strategy <arg> Copy strategy to use. Default is dividing work
based on file sizes
-tmp <arg> Intermediate work path to be used for atomic
commit
-update Update target, copying only missingfiles or
directories
{noformat}
> 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
[jira] [Commented] (HADOOP-8431) Running distcp wo args throws
IllegalArgumentException
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13449958#comment-13449958 ]
Hadoop QA commented on HADOOP-8431:
-----------------------------------
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12544091/diff1.txt
against trunk revision .
+1 @author. The patch does not contain any @author tags.
-1 tests included. The patch doesn't appear to include any new or modified tests.
Please justify why no new tests are needed for this patch.
Also please list what manual steps were performed to verify this patch.
+1 javac. The applied patch does not increase the total number of javac compiler warnings.
+1 javadoc. The javadoc tool did not generate any warning messages.
+1 eclipse:eclipse. The patch built with eclipse:eclipse.
+1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.
+1 release audit. The applied patch does not increase the total number of release audit warnings.
+1 core tests. The patch passed unit tests in hadoop-tools/hadoop-distcp.
+1 contrib tests. The patch passed contrib unit tests.
Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/1415//testReport/
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/1415//console
This message is automatically generated.
> 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
> Attachments: diff1.txt
>
>
> 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
[jira] [Commented] (HADOOP-8431) Running distcp wo args throws
IllegalArgumentException
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13450638#comment-13450638 ]
Hudson commented on HADOOP-8431:
--------------------------------
Integrated in Hadoop-Mapreduce-trunk #1189 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1189/])
HADOOP-8431. Running distcp wo args throws IllegalArgumentException. Contributed by Sandy Ryza (Revision 1381840)
Result = SUCCESS
eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1381840
Files :
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-tools/hadoop-distcp/src/main/java/org/apache/hadoop/tools/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
> Assignee: Sandy Ryza
> Labels: newbie
> Fix For: 2.2.0-alpha
>
> Attachments: diff1.txt
>
>
> 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
[jira] [Closed] (HADOOP-8431) Running distcp wo args throws
IllegalArgumentException
Posted by "Arun C Murthy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arun C Murthy closed HADOOP-8431.
---------------------------------
> 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
> Assignee: Sandy Ryza
> Labels: newbie
> Fix For: 2.0.2-alpha
>
> Attachments: diff1.txt
>
>
> 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
[jira] [Commented] (HADOOP-8431) Running distcp wo args throws
IllegalArgumentException
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13450278#comment-13450278 ]
Hudson commented on HADOOP-8431:
--------------------------------
Integrated in Hadoop-Common-trunk-Commit #2701 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2701/])
HADOOP-8431. Running distcp wo args throws IllegalArgumentException. Contributed by Sandy Ryza (Revision 1381840)
Result = SUCCESS
eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1381840
Files :
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-tools/hadoop-distcp/src/main/java/org/apache/hadoop/tools/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
> Assignee: Sandy Ryza
> Labels: newbie
> Fix For: 2.2.0-alpha
>
> Attachments: diff1.txt
>
>
> 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
[jira] [Updated] (HADOOP-8431) Running distcp wo args throws
IllegalArgumentException
Posted by "Eli Collins (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eli Collins updated HADOOP-8431:
--------------------------------
Resolution: Fixed
Fix Version/s: 2.2.0-alpha
Target Version/s: (was: 2.2.0-alpha)
Hadoop Flags: Reviewed
Status: Resolved (was: Patch Available)
I've committed this and merged to branch-2. Thanks Sandy!
> 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
> Assignee: Sandy Ryza
> Labels: newbie
> Fix For: 2.2.0-alpha
>
> Attachments: diff1.txt
>
>
> 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