Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-553

DataNode and NameNode main() should catch and report exceptions.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.6.1
    • 0.8.0
    • None
    • None

    Description

      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.

      Attachments

        1. logging-exceptions-2.patch
          4 kB
          Raghu Angadi

        Activity

          People

            rangadi Raghu Angadi
            shv Konstantin Shvachko
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: