Should this be true (main() calls and reports exceptions) for all
system components? Especially for user-facing ones like hadoop client?
On Sep 20, 2006, at 3:31 PM, Konstantin Shvachko (JIRA) wrote:
DataNode and NameNode main() should catch and report exceptions.
----------------------------------------------------------------
Key: HADOOP-553
URL: http://issues.apache.org/jira/browse/HADOOP-553
Project: Hadoop
Issue Type: Bug
Components: dfs, mapred
Affects Versions: 0.6.2
Reporter: Konstantin Shvachko
Right now we do not know what happened during startup failure,
because there no records in the logs.
I propose to change main() so that it would catch exceptions and
log them rather then throwing them into std out.
May be the same should be done for the JobTracker.
The TaskTracker.main() catches at least the IOException.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the
administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira