Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-3575

HttpFS does not log Exception Stacktraces

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: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.0-alpha
    • 2.0.2-alpha
    • None
    • Reviewed
    • httpfs

    Description

      In the 'log' method of the HttpFSExceptionProvider we log exceptions as "warn" but the stacktrace itself is not logged:

      LOG.warn("[{}:{}] response [{}] {}", new Object[]

      {method, path, status, message, throwable}

      );

      We should log the exception here.

      Attachments

        Activity

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

          People

            brocknoland Brock Noland Assign to me
            brocknoland Brock Noland
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment