hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghu Angadi (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-553) DataNode and NameNode main() should catch and report exceptions.
Date Mon, 30 Oct 2006 22:23:18 GMT
     [ http://issues.apache.org/jira/browse/HADOOP-553?page=all ]

Raghu Angadi updated HADOOP-553:
--------------------------------

    Attachment: stdout-rotate.patch


This patch rotates and keeps last 5 ".out" files created in hadoop-daemon.sh.




> 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: mapred, dfs
>    Affects Versions: 0.6.1
>            Reporter: Konstantin Shvachko
>         Assigned To: Raghu Angadi
>         Attachments: logging-exceptions.patch, stdout-rotate.patch
>
>
> 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

        

Mime
View raw message