hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pete Wyckoff (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-3918) Improve fuse-dfs error message when classpath not set or set incorrectly
Date Mon, 11 Aug 2008 21:40:44 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-3918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Pete Wyckoff updated HADOOP-3918:
---------------------------------

    Attachment: patch1.txt

Added unit tests and also a no_check_classpath option.


> 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
>         Attachments: patch0.txt, patch1.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.


Mime
View raw message