Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 53483 invoked from network); 6 Sep 2008 22:36:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Sep 2008 22:36:36 -0000 Received: (qmail 75011 invoked by uid 500); 6 Sep 2008 22:36:32 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 74992 invoked by uid 500); 6 Sep 2008 22:36:32 -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 74980 invoked by uid 99); 6 Sep 2008 22:36:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Sep 2008 15:36:32 -0700 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; Sat, 06 Sep 2008 22:35:42 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 27B72234C1B2 for ; Sat, 6 Sep 2008 15:35:44 -0700 (PDT) Message-ID: <2022583299.1220740544148.JavaMail.jira@brutus> Date: Sat, 6 Sep 2008 15:35:44 -0700 (PDT) From: "Pete Wyckoff (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-3918) Improve fuse-dfs error message when classpath not set or set incorrectly In-Reply-To: <1389144620.1218128624391.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-3918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pete Wyckoff updated HADOOP-3918: --------------------------------- Fix Version/s: 0.19.0 > Improve fuse-dfs error message when classpath not set or set incorrectly > ------------------------------------------------------------------------ > > Key: HADOOP-3918 > URL: https://issues.apache.org/jira/browse/HADOOP-3918 > Project: Hadoop Core > Issue Type: Improvement > Components: contrib/fuse-dfs > Reporter: Pete Wyckoff > Assignee: Pete Wyckoff > Priority: Minor > Fix For: 0.19.0 > > Attachments: patch0.txt, patch1.txt, patch1.txt, patch2.txt > > > Currently libhdfs does an exit(1) when it cannot create a hadoop object. fuse does not like this and instead fuse_dfs should return -EIO and log to syslog and stderr a message. Also if it is obvious somehting is wrong, like the CLASSPATH is null or does not contain something of the form hadoop-[a-zA-Z-].jar immediately print an error and exit > Note that it is tough to debug this issue because when fuse-dfs is not in debug mode, it is running as a fuse module and stderr is redirected, so all one gets is "software abort" when libhdfs exits. So, this will greatly improve things since fuse-dfs can print a proper error and the user can quickly see what the problem is. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.