Uploaded image for project: 'Sentry'
  1. Sentry
  2. SENTRY-1002

PathsUpdate.parsePath(path) will throw an NPE when parsing relative paths

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.0
    • Fix Version/s: 1.7.0
    • Component/s: Sentry
    • Labels:
      None

      Description

      There a few edge cases where Paths update may be passed a path which lacks a URI Scheme.

      i.e

      /user/hive/warehouse

      In this situation PathsUpdate will throw an uncaught NPE at the Precondition check.

      Since we only support HDFS anyway I suggest we silently ignore these relative paths.

        Attachments

        1. SENTRY-1002.1.patch
          6 kB
          Hao Hao
        2. SENTRY-1002.2.patch
          9 kB
          Hao Hao
        3. SENTRY-1002.3.patch
          8 kB
          Hao Hao
        4. SENTRY-1002.patch
          5 kB
          Hao Hao

          Issue Links

            Activity

              People

              • Assignee:
                hahao Hao Hao
                Reporter:
                Ryan P Ryan P
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: