Impala JDBC Error: User '' does not have privileges to execute 'SELECT' on: table
Resently I enabled the Sentry policy file for Hive. So when I try to execute a query in Impala using Impala-JDBC4 (version 2.5.16) I get this error: errorMessage:AuthorizationException: User '' does not have privileges to execute 'SELECT' on: db.table In my code I set the user and password of my admin account of my DB. So I don't undestand why it don't reads that. public static double getDolarFromImpala(String date) { double dolar = 0.0; try { Class.forName(JDBC_DRIVER_IMPALA); String sql = "SELECT value FROM db.table where date ='"+date+"'"; String JDBC_IMPALA_URL = "jdbc:impala://impala1:210
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.