Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-13323

Downgrade stack trace on FS load from Warn to debug

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7.3
    • Fix Version/s: 2.8.0, 3.0.0-alpha2
    • Component/s: fs
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      HADOOP-12636 catches exceptions on FS creation, but prints a stack trace @ warn every time..this is noisy and irrelevant if the installation doesn't need connectivity to a specific filesystem or object store.

      I propose: only printing the toString values of the exception chain @ warn; the full stack comes out at debug.

      We could some more tuning:

      • have a specific log for this exception, which allows installations to turn even the warnings off.
      • add a link to a wiki page listing the dependencies of the shipped filesystems

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                stevel@apache.org Steve Loughran
                Reporter:
                stevel@apache.org Steve Loughran
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: