You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Sudha KS <Su...@fuzzylogix.com> on 2017/12/18 09:59:25 UTC

Spark - Livy - Hive Table User

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()

2.      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?