You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "dhruba borthakur (JIRA)" <ji...@apache.org> on 2006/10/13 06:31:37 UTC
[jira] Updated: (HADOOP-462) DFSShell throws out arrayoutofbounds
exceptions if the number of arguments is not right
[ http://issues.apache.org/jira/browse/HADOOP-462?page=all ]
dhruba borthakur updated HADOOP-462:
------------------------------------
Attachment: dfsshell.patch
This patch ensures that a user does not see a java-stack trace if he/she encounters an error with DFSShell. Instead, an error message shouls get displayed.
> DFSShell throws out arrayoutofbounds exceptions if the number of arguments is not right
> ---------------------------------------------------------------------------------------
>
> Key: HADOOP-462
> URL: http://issues.apache.org/jira/browse/HADOOP-462
> Project: Hadoop
> Issue Type: Bug
> Components: dfs
> Reporter: Mahadev konar
> Assigned To: dhruba borthakur
> Priority: Minor
> Attachments: dfsshell.patch
>
>
> All the DFSShell commands do not check for the number of arguments. In DFSShell.run(), the args length is not checked before calling copyfromlocal, movefromlocal, copytolocal, and some others as well. This throws out arrrayoutofbounds exception in case lesser number of arguments is specified.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira