[ http://issues.apache.org/jira/browse/HADOOP-553?page=all ]
Raghu Angadi updated HADOOP-553: -------------------------------- Attachment: logging-exceptions.patch logging-exceptions.patch: Patch to write exceptions to log file instead of stderr. I will submit a seperate patch to rotate .out files. > 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.2 > Reporter: Konstantin Shvachko > Assigned To: Raghu Angadi > Attachments: logging-exceptions.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