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

Add better error message to Hive when Sentry is down (currently fails with no privileges)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.7.0
    • None
    • Service
    • None

    Description

      If communication between Hive and Sentry is interrupted then Hive shows a permissions error. To reproduce stop the sentry service on a cluster and run a query. The HS2 log will show something like this:

      ERROR org.apache.hadoop.hive.ql.Driver: FAILED: SemanticException No valid privileges

      This is misleading, it would be better to throw something related to communication failure.

      Attachments

        Activity

          People

            Unassigned Unassigned
            lskuff Lenni Kuff
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: