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

HttpFS does not log Exception Stacktraces

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate 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

        1. HDFS-3575-1.patch
          1.0 kB
          Brock Noland

        Activity

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

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment