spark sql show tables显示istemporary,怎么关闭

2025-05-11 00:20:11
推荐回答(1个)
回答1:

1.配置hive-site.xml
在master1上的/usr/local/spark/spark-1.6.0-bin-hadoop2.6/conf目录创建hive-site.xml文件,内容如下:

Java代码


hive.metastore.uris
thrift://master1:9083
Thrift URI for the remote metastore. Used by metastore client to connect to remote metastore.