Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 14355 invoked from network); 4 Jan 2008 18:45:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Jan 2008 18:45:56 -0000 Received: (qmail 40919 invoked by uid 500); 4 Jan 2008 18:45:45 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 40524 invoked by uid 500); 4 Jan 2008 18:45:44 -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 40515 invoked by uid 99); 4 Jan 2008 18:45:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Jan 2008 10:45:44 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Jan 2008 18:45:29 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A2A18714201 for ; Fri, 4 Jan 2008 10:45:34 -0800 (PST) Message-ID: <33119220.1199472334663.JavaMail.jira@brutus> Date: Fri, 4 Jan 2008 10:45:34 -0800 (PST) From: "Raghu Angadi (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Updated: (HADOOP-2420) Use exit code to detect normal errors while excuting 'ls' in Local FS In-Reply-To: <29841168.1197582703327.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-2420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Raghu Angadi updated HADOOP-2420: --------------------------------- Status: Patch Available (was: Open) > Use exit code to detect normal errors while excuting 'ls' in Local FS > --------------------------------------------------------------------- > > Key: HADOOP-2420 > URL: https://issues.apache.org/jira/browse/HADOOP-2420 > Project: Hadoop > Issue Type: Bug > Components: fs > Affects Versions: 0.16.0 > Reporter: Raghu Angadi > Assignee: Raghu Angadi > Priority: Blocker > Fix For: 0.16.0 > > Attachments: HADOOP-2420.patch, HADOOP-2420.patch > > > Local FileSystem runs {{ls -ld}} find file permissions, owner and group for a file. Currently it parses message in the exception to check if the command returned an error due to expected conditions like missing file. > HADOOP-2344 add interface to get error code returned by the external process. Local FS should use that. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.