sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lenni Kuff (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SENTRY-1062) Add better error message to Hive when Sentry is down (currently fails with no privileges)
Date Thu, 11 Feb 2016 16:47:18 GMT
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)

Mime
View raw message