Return-Path: Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: (qmail 83265 invoked from network); 13 Jan 2010 04:52:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Jan 2010 04:52:19 -0000 Received: (qmail 95044 invoked by uid 500); 13 Jan 2010 04:52:19 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 94862 invoked by uid 500); 13 Jan 2010 04:52:18 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 94833 invoked by uid 99); 13 Jan 2010 04:52:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jan 2010 04:52:18 +0000 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, 13 Jan 2010 04:52:16 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 23E5229A0016 for ; Tue, 12 Jan 2010 20:51:55 -0800 (PST) Message-ID: <1623736303.204701263358315146.JavaMail.jira@brutus.apache.org> Date: Wed, 13 Jan 2010 04:51:55 +0000 (UTC) From: "Eli Collins (JIRA)" To: hdfs-issues@hadoop.apache.org Subject: [jira] Commented: (HDFS-858) Incorrect return codes for fuse-dfs In-Reply-To: <1705177520.1262044229419.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HDFS-858?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12799574#action_12799574 ] Eli Collins commented on HDFS-858: ---------------------------------- test-c++-libhdfs doesn't cover fuse so actually it shouldn't fail, TestFuseDFS would cover this though it's not currently running (HDFS-780). I tried this patch locally and it worked. > Incorrect return codes for fuse-dfs > ----------------------------------- > > Key: HDFS-858 > URL: https://issues.apache.org/jira/browse/HDFS-858 > Project: Hadoop HDFS > Issue Type: Bug > Components: contrib/fuse-dfs > Reporter: Brian Bockelman > Priority: Minor > Attachments: HDFS-858-2.patch, HDFS-858.patch > > > fuse-dfs doesn't pass proper error codes from libhdfs; places I'd like to correct are hdfsFileOpen (which can result in permission denied or quota violations) and hdfsWrite (which can result in quota violations). > By returning the correct error codes, command line utilities return much better error messages - especially for quota violations, which can be a devil to debug. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.