Member since
07-26-2016
1
Post
1
Kudos Received
0
Solutions
11-17-2016
07:54 AM
1 Kudo
The workaround is to use SQLContext (instead of HiveContext) and JDBC to connect to HiveServer2 which will honor ranger's authorization policies. Following links will give you some idea about how Spark, JDBC and SQLContext works. http://stackoverflow.com/questions/32195946/method-not-supported-in-spark https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.4/bk_dataintegration/content/hive-jdbc-odbc-drivers.html
... View more