spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ram kumar <>
Subject Fwd: AuthorizationException while exposing via JDBC client (beeline)
Date Thu, 28 Apr 2016 07:58:45 GMT

I wrote a spark job which registers a temp table
and when I expose it via beeline (JDBC client)

$ *./bin/beeline*
* !connect jdbc:hive2://IP:10003 -n ram -p xxxx*0: jdbc:hive2://IP>

tableName                          | isTemporary
f238                                                        | true

rows selected (0.309 seconds)*0: jdbc:hive2://IP>

I can view the table. When querying I get this error message

0: jdbc:hive2://IP> select * from f238;
User: ram is not allowed to impersonate ram (state=,code=0)*
0: jdbc:hive2://IP>

I have this in hive-site.xml,

      <description>If true, the metastore Thrift interface will be secured
with SASL. Clients must authenticate with Kerberos.</description>



I have this in core-site.xml,



When persisting as a table using saveAsTable, I can able to query via
Any idea what configuration I am missing?


View raw message