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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.6.0
    • 1.7.0
    • Sentry
    • 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.patch
          5 kB
          Hao Hao
        2. SENTRY-1002.3.patch
          8 kB
          Hao Hao
        3. SENTRY-1002.2.patch
          9 kB
          Hao Hao
        4. SENTRY-1002.1.patch
          6 kB
          Hao Hao

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: