Spark on Hive 环境配置
Hive Tables - Spark 3.1.2 Documentation (apache.org)
搭建准备
① 准备 Hadoop 和 Hive 环境
② 准备 Spark on Yarn 环境
③ 启动 Hive 的 metastore 服务
# 进入 Hive 安装目录
cd /opt/server/hive-2.1.0
nohup bin/hive --service metastore &
配置修改
修改 hive-site.xml 配置文件:在 3 台 Spark 服务器上都操作
# 进入 Spark 安装目录
cd /opt/server/spark/conf
# 增加 hive-site.xml 配置文件
vim hive-site.xml
# 增加以下配置信息
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="https://blog.csdn.net/configuration.xsl"?>

2736

被折叠的 条评论
为什么被折叠?



