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

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

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.7.0
    • Fix Version/s: None
    • Component/s: Service
    • Labels:
      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

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

              Dates

              • Created:
                Updated: