Lenni Kuff created SENTRY-1062:
----------------------------------

             Summary: Add better error message to Hive when Sentry is down 
(currently fails with no privileges)
                 Key: SENTRY-1062
                 URL: https://issues.apache.org/jira/browse/SENTRY-1062
             Project: Sentry
          Issue Type: Improvement
          Components: Service
    Affects Versions: 1.7.0
            Reporter: Lenni Kuff


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to