[ http://issues.apache.org/jira/browse/HADOOP-462?page=all ]

Doug Cutting updated HADOOP-462:
--------------------------------

           Status: Resolved  (was: Patch Available)
    Fix Version/s: 0.8.0
       Resolution: Fixed

I just committed this.  Thanks, Dhruba.

> 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
>             Fix For: 0.8.0
>
>         Attachments: dfsshell.patch.3
>
>
> 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

        

Reply via email to