第1关:Hive的安装与配置
在修改 conf 下面的hive-site.xml文件这里,题目给的信息是错误的,正确的内容如下:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?xml-stylesheet type="text/xsl" href="https://blog.csdn.net/configuration.xsl"?>
<configuration>
<!-- WARNING!!! This file is auto generated for documentation purposes ONLY! -->
<!-- WARNING!!! Any changes you make to this file will be ignored by Hive. -->
<!-- WARNING!!! You must make your changes in hive-site.xml instead. -->
<!-- Hive Execution Parameters -->
<property>
<name>hive.metastore.warehouse.dir</name>
<value>/opt/hive/warehouse</value>
</property>
<property>
<name>hive.exec.scratchdir</name>
<value>/opt/hive/tmp

本文详细解释了Hive配置中的关键参数,如metastore目录、临时目录等,并给出了连接MySQL数据库的相关配置。
1966

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



