Uploaded image for project: 'Hue (READ ONLY)'
  1. Hue (READ ONLY)
  2. HUE-6103

[fb] Log filesystem initialization exceptions

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.11.0
    • Fix Version/s: 4.0.0
    • Component/s: app.filebrowser
    • Labels:
      None

      Description

      Upon initializing filesystems in Hue's middleware, any exceptions are currently swallowed as a warning: https://github.com/cloudera/hue/blob/master/desktop/core/src/desktop/lib/fsmanager.py#L65-L66

      We can't render these as popup exceptions b/c they are caught by the middleware on every request (https://github.com/cloudera/hue/blob/master/desktop/core/src/desktop/middleware.py#L124) in the logic that sets request.fs thus it would actually block the /logs page and every page if an error exists.

      Instead, log an actual ERROR and include the original exception details.

        Attachments

          Activity

            People

            • Assignee:
              jennykim Jenny Kim
              Reporter:
              jennykim Jenny Kim
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: