Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-10679

Better logging of uncaught exceptions throughout SLS

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.0
    • Component/s: None
    • Labels:
      None

      Description

      In our internal environment, there was a test failure while running SLS tests with Jenkins.
      It's difficult to align the uncaught exceptions (in this case an NPE) and the log itself as the exception is logged with e.printStackTrace().
      This jira is to replace printStackTrace calls in SLS with LOG.error("msg", exception).

        Attachments

        1. YARN-10679.001.patch
          6 kB
          Szilard Nemeth

          Issue Links

            Activity

              People

              • Assignee:
                snemeth Szilard Nemeth
                Reporter:
                snemeth Szilard Nemeth
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: