头歌—Hive的安装与配置

第1关:Hive的安装与配置

在修改 conf 下面的hive-site.xml文件这里,题目给的信息是错误的,正确的内容如下:



<configuration>




<property>
<name>hive.metastore.warehouse.dirname>
<value>/opt/hive/warehousevalue>
property>
<property>
<name>hive.exec.scratchdirname>
<value>/opt/hive/tmpvalue>
property>
<property>
<name>hive.querylog.locationname>
<value>/opt/hive/logsvalue>
property>
<property>
<name>hive.server2.thrift.portname>
<value>10000value>
property>
<property>
<name>hive.server2.thrift.bind.hostname>
<value>localhostvalue>
property>
<property>
<name>hive.server2.enable.doAsname>
<value>truevalue>
property>
 
<property>
<name>hive.session.idname>
<value>falsevalue>
property>
<property>
<name>hive.session.silentname>
<value>falsevalue>
property>
 
<property>
<name>javax.jdo.option.ConnectionURLname>
<value>jdbc:mysql://localhost:3306/hiveDB?createDatabaseIfNotExist=truevalue>
property>
<property>
<name>javax.jdo.option.ConnectionDriverNamename>
<value>com.mysql.jdbc.Drivervalue>
property>
<property>
<name>javax.jdo.option.ConnectionUserNamename>
<value>beevalue>

property>
<property>
<name>javax.jdo.option.ConnectionPasswordname>

<value>123123value>
property>
configuration>

你可能感兴趣的:(头歌,hive,hadoop,数据仓库)