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

HttpFS does not log Exception Stacktraces

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-alpha
    • Fix Version/s: 2.0.2-alpha
    • Component/s: None
    • Labels:
    • Target Version/s:
    • Hadoop Flags:
      Reviewed
    • Tags:
      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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: