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

Better logging of uncaught exceptions throughout SLS

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.4.0
    • 3.4.0
    • None
    • Reviewed

    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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            snemeth Szilard Nemeth Assign to me
            snemeth Szilard Nemeth
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment