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

TestDatabaseProvider tests fail after Sentry schema tool was added.

    XMLWordPrintableJSON

    Details

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

      Description

      Caused by: org.apache.sentry.provider.db.SentryNoSuchObjectException: No matching version found
      at org.apache.sentry.provider.db.service.persistent.SentryStore.getMSentryVersion(SentryStore.java:867)
      at org.apache.sentry.provider.db.service.persistent.SentryStore.getSentryVersion(SentryStore.java:819)
      at org.apache.sentry.provider.db.service.persistent.SentryStore.verifySentryStoreSchema(SentryStore.java:130)
      at org.apache.sentry.provider.db.service.persistent.SentryStore.<init>(SentryStore.java:119)
      at org.apache.sentry.provider.db.service.thrift.SentryPolicyStoreProcessor.<init>(SentryPolicyStoreProcessor.java:68)
      at org.apache.sentry.provider.db.service.thrift.SentryPolicyStoreProcessorFactory.register(SentryPolicyStoreProcessorFactory.java:31)
      at org.apache.sentry.service.thrift.SentryService.runServer(SentryService.java:185)

        Attachments

        1. SENTRY-201.1.patch
          0.9 kB
          Prasad Suresh Mujumdar

          Issue Links

            Activity

              People

              • Assignee:
                prasadm Prasad Suresh Mujumdar
                Reporter:
                sravya Sravya Tirukkovalur
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: