Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 38708 invoked from network); 5 Nov 2008 22:47:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Nov 2008 22:47:06 -0000 Received: (qmail 4280 invoked by uid 500); 5 Nov 2008 22:47:11 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 4255 invoked by uid 500); 5 Nov 2008 22:47:11 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 4244 invoked by uid 99); 5 Nov 2008 22:47:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Nov 2008 14:47:11 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Nov 2008 22:46:02 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 40140234C27C for ; Wed, 5 Nov 2008 14:46:44 -0800 (PST) Message-ID: <356463490.1225925204261.JavaMail.jira@brutus> Date: Wed, 5 Nov 2008 14:46:44 -0800 (PST) From: "Raghu Angadi (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-3121) dfs -lsr fail with "Could not get listing " In-Reply-To: <267701341.1206730584453.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 [ https://issues.apache.org/jira/browse/HADOOP-3121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12645350#action_12645350 ] Raghu Angadi commented on HADOOP-3121: -------------------------------------- Shouldn't it be the same for other exceptions? What if dir '/a' does not have permissions for this user? > dfs -lsr fail with "Could not get listing " > ------------------------------------------- > > Key: HADOOP-3121 > URL: https://issues.apache.org/jira/browse/HADOOP-3121 > Project: Hadoop Core > Issue Type: Bug > Components: fs > Affects Versions: 0.16.1 > Reporter: Koji Noguchi > Assignee: Tsz Wo (Nicholas), SZE > Priority: Minor > Attachments: 3121_20081105.patch > > > (This happened a lot when namenode was extremely slow due to some other reasons.) > % hadoop dfs -lsr / > failed with > > Could not get listing for /aaa/bbb/randomfile > It's probably because file was deleted between items = fs.listStatus( and ls(items[i] > I think lsr should ignore this case and continue. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.