Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 40514 invoked from network); 17 Oct 2006 21:24:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Oct 2006 21:24:30 -0000 Received: (qmail 74304 invoked by uid 500); 17 Oct 2006 21:24:29 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 74281 invoked by uid 500); 17 Oct 2006 21:24:29 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 74272 invoked by uid 99); 17 Oct 2006 21:24:29 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Oct 2006 14:24:29 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Oct 2006 14:24:28 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C7CC07142FC for ; Tue, 17 Oct 2006 14:23:36 -0700 (PDT) Message-ID: <7576934.1161120216815.JavaMail.jira@brutus> Date: Tue, 17 Oct 2006 14:23:36 -0700 (PDT) From: "Doug Cutting (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Updated: (HADOOP-462) DFSShell throws out arrayoutofbounds exceptions if the number of arguments is not right In-Reply-To: <25926979.1155934755219.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/HADOOP-462?page=all ] Doug Cutting updated HADOOP-462: -------------------------------- Status: Open (was: Patch Available) > 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.2 > > > 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