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?

Reply via email to