Spark - Livy - Hive Table User

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Spark - Livy - Hive Table User

Sudha KS
The tables created are in the name livy:
drwxrwxrwx+  - livy  hdfs          0 2017-12-18 09:38 /apps/hive/warehouse/dev.db/tbl
 
  1. Df.write.saveAsTable()
 
  1. spark.sql(“CREATE TABLE tbl (key INT, value STRING)”)
 
 
whereas, the create table from hive shell is ‘hive’/proxyuser:
drwxrwxrwx+  - guest hdfs          0 2017-12-18 08:51 /apps/hive/warehouse/dev.db/tbll
 
Is there a property via which it can be set for spark?