第六章.Hive组件安装配置

发布时间 2023-03-24 12:21:54作者: 雙_木

第六章.Hive组件安装配置

1.1. 实验目的

完成本实验,您应该能够:
掌握 Hive 组件安装配置
掌握 Hive 组件格式化和启动

1.2. 实验要求

熟悉 Hive 组件安装配置
了解 Hive 组件格式化和启动

1.3. 实验环境

本实验所需之主要资源环境如表 1-1 所示。
服务器集群 单节点,机器最低配置:双核 CPU、8GB 内存、100G 硬盘
运行环境 CentOS.7.3
服务和组件 服务和组件根据实验需求安装

1.4. 实验过程

1.4.1. 实验任务一:下载和解压安装文件

1.4.1.1. 步骤一:基础环境和安装准备

Hive 组件需要基于 Hadoop 系统进行安装。因此,在安装 Hive 组件前,需要确保 Hadoop 系统能够正常运行。本章节内容是基于之前已部署完毕的 Hadoop 全分布系统,在 master 节点上实现 Hive 组件安装。
Hive 组件的部署规划和软件包路径如下:
(1)当前环境中已安装 Hadoop 全分布系统。
(2)本地安装 MySQL 数据库(账号 root,密码 Password123$), 软件包在/opt/software/mysql-5.7.18 路径下。
(3)MySQL 端口号(3306)。
(4)MySQL 的 JDBC 驱动包/opt/software/mysql-connector-java-5.1.47.jar, 在此基础上更新 Hive 元数据存储。
(5)Hive 软件包/opt/software/apache-hive-2.0.0-bin.tar.gz。

1.4.1.2. 步骤一:部署mysql

Hive 元数据存储在 MySQL 数据库中,因此在部署 Hive 组件前需要首先在 Linux 系统 下安装 MySQL 数据库,并进行 MySQL 字符集、安全初始化、远程访问权限等相关配置。需 要使用 root 用户登录,执行如下操作步骤:
#查看在master节点上时候有mariadb软件包
[hadoop@master hadoop]$ rpm -qa | grep mariadb
mariadb-libs-5.5.56-2.el7.x86_64
#若有,需删除
[root@master ~]# rpm -e mariadb-libs --nodeps
[root@master ~]# rpm -qa | grep mariadb

1.4.1.3. 步骤二:上传软件包

[root@master ~]# rpm -ivh mysql-community-common-5.7.18-1.el7.x86_64.rpm 
warning: mysql-community-common-5.7.18-1.el7.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
Preparing...                          ################################# [100%]
Updating / installing...
   1:mysql-community-common-5.7.18-1.e################################# [100%]
[root@master ~]# rpm -ivh mysql-community-libs-5.7.18-1.el7.x86_64.rpm 
warning: mysql-community-libs-5.7.18-1.el7.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
Preparing...                          ################################# [100%]
Updating / installing...
   1:mysql-community-libs-5.7.18-1.el7################################# [100%]
[root@master ~]# rpm -ivh mysql-community-client-5.7.18-1.el7.x86_64.rpm 
warning: mysql-community-client-5.7.18-1.el7.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
Preparing...                          ################################# [100%]
Updating / installing...
   1:mysql-community-client-5.7.18-1.e################################# [100%]
[root@master ~]# rpm -ivh mysql-community-devel-5.7.18-1.el7.x86_64.rpm 
warning: mysql-community-devel-5.7.18-1.el7.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
Preparing...                          ################################# [100%]
Updating / installing...
   1:mysql-community-devel-5.7.18-1.el################################# [100%]
[root@master ~]# yum -y install mysql-community-server-5.7.18-1.el7.x86_64.rpm 
Loaded plugins: fastestmirror
Examining mysql-community-server-5.7.18-1.el7.x86_64.rpm: mysql-community-server-5.7.18-1.el7.x86_64
Marking mysql-community-server-5.7.18-1.el7.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package mysql-community-server.x86_64 0:5.7.18-1.el7 will be installed
--> Processing Dependency: net-tools for package: mysql-community-server-5.7.18-1.el7.x86_64
Determining fastest mirrors
 * base: mirrors.huaweicloud.com
 * extras: mirrors.ustc.edu.cn
 * updates: mirrors.bfsu.edu.cn
base                                                            | 3.6 kB  00:00:00     
extras                                                          | 2.9 kB  00:00:00     
updates                                                         | 2.9 kB  00:00:00     
(1/4): base/7/x86_64/group_gz                                   | 153 kB  00:00:01     
(2/4): extras/7/x86_64/primary_db                               | 249 kB  00:00:01     
(3/4): updates/7/x86_64/primary_db                              |  20 MB  00:00:21     
(4/4): base/7/x86_64/primary_db                                 | 6.1 MB  00:00:24     
--> Processing Dependency: perl(Getopt::Long) for package: mysql-community-server-5.7.18-1.el7.x86_64
--> Processing Dependency: perl(strict) for package: mysql-community-server-5.7.18-1.el7.x86_64
--> Running transaction check
---> Package net-tools.x86_64 0:2.0-0.25.20131004git.el7 will be installed
---> Package perl.x86_64 4:5.16.3-299.el7_9 will be installed
--> Processing Dependency: perl-libs = 4:5.16.3-299.el7_9 for package: 4:perl-5.16.3-299.el7_9.x86_64
--> Processing Dependency: perl(Socket) >= 1.3 for package: 4:perl-5.16.3-299.el7_9.x86_64
--> Processing Dependency: perl(Scalar::Util) >= 1.10 for package: 4:perl-5.16.3-299.el7_9.x86_64
--> Processing Dependency: perl-macros for package: 4:perl-5.16.3-299.el7_9.x86_64
--> Processing Dependency: perl-libs for package: 4:perl-5.16.3-299.el7_9.x86_64
--> Processing Dependency: perl(threads::shared) for package: 4:perl-5.16.3-299.el7_9.x86_64
--> Processing Dependency: perl(threads) for package: 4:perl-5.16.3-299.el7_9.x86_64
--> Processing Dependency: perl(constant) for package: 4:perl-5.16.3-299.el7_9.x86_64
--> Processing Dependency: perl(Time::Local) for package: 4:perl-5.16.3-299.el7_9.x86_64
--> Processing Dependency: perl(Time::HiRes) for package: 4:perl-5.16.3-299.el7_9.x86_64
--> Processing Dependency: perl(Storable) for package: 4:perl-5.16.3-299.el7_9.x86_64
--> Processing Dependency: perl(Socket) for package: 4:perl-5.16.3-299.el7_9.x86_64
--> Processing Dependency: perl(Scalar::Util) for package: 4:perl-5.16.3-299.el7_9.x86_64
--> Processing Dependency: perl(Pod::Simple::XHTML) for package: 4:perl-5.16.3-299.el7_9.x86_64
--> Processing Dependency: perl(Pod::Simple::Search) for package: 4:perl-5.16.3-299.el7_9.x86_64
--> Processing Dependency: perl(Filter::Util::Call) for package: 4:perl-5.16.3-299.el7_9.x86_64
--> Processing Dependency: perl(File::Temp) for package: 4:perl-5.16.3-299.el7_9.x86_64
--> Processing Dependency: perl(File::Spec::Unix) for package: 4:perl-5.16.3-299.el7_9.x86_64
--> Processing Dependency: perl(File::Spec::Functions) for package: 4:perl-5.16.3-299.el7_9.x86_64
--> Processing Dependency: perl(File::Spec) for package: 4:perl-5.16.3-299.el7_9.x86_64
--> Processing Dependency: perl(File::Path) for package: 4:perl-5.16.3-299.el7_9.x86_64
--> Processing Dependency: perl(Exporter) for package: 4:perl-5.16.3-299.el7_9.x86_64
--> Processing Dependency: perl(Cwd) for package: 4:perl-5.16.3-299.el7_9.x86_64
--> Processing Dependency: perl(Carp) for package: 4:perl-5.16.3-299.el7_9.x86_64
--> Processing Dependency: libperl.so()(64bit) for package: 4:perl-5.16.3-299.el7_9.x86_64
---> Package perl-Getopt-Long.noarch 0:2.40-3.el7 will be installed
--> Processing Dependency: perl(Pod::Usage) >= 1.14 for package: perl-Getopt-Long-2.40-3.el7.noarch
--> Processing Dependency: perl(Text::ParseWords) for package: perl-Getopt-Long-2.40-3.el7.noarch
--> Running transaction check
---> Package perl-Carp.noarch 0:1.26-244.el7 will be installed
---> Package perl-Exporter.noarch 0:5.68-3.el7 will be installed
---> Package perl-File-Path.noarch 0:2.09-2.el7 will be installed
---> Package perl-File-Temp.noarch 0:0.23.01-3.el7 will be installed
---> Package perl-Filter.x86_64 0:1.49-3.el7 will be installed
---> Package perl-PathTools.x86_64 0:3.40-5.el7 will be installed
---> Package perl-Pod-Simple.noarch 1:3.28-4.el7 will be installed
--> Processing Dependency: perl(Pod::Escapes) >= 1.04 for package: 1:perl-Pod-Simple-3.28-4.el7.noarch
--> Processing Dependency: perl(Encode) for package: 1:perl-Pod-Simple-3.28-4.el7.noarch
---> Package perl-Pod-Usage.noarch 0:1.63-3.el7 will be installed
--> Processing Dependency: perl(Pod::Text) >= 3.15 for package: perl-Pod-Usage-1.63-3.el7.noarch
--> Processing Dependency: perl-Pod-Perldoc for package: perl-Pod-Usage-1.63-3.el7.noarch
---> Package perl-Scalar-List-Utils.x86_64 0:1.27-248.el7 will be installed
---> Package perl-Socket.x86_64 0:2.010-5.el7 will be installed
---> Package perl-Storable.x86_64 0:2.45-3.el7 will be installed
---> Package perl-Text-ParseWords.noarch 0:3.29-4.el7 will be installed
---> Package perl-Time-HiRes.x86_64 4:1.9725-3.el7 will be installed
---> Package perl-Time-Local.noarch 0:1.2300-2.el7 will be installed
---> Package perl-constant.noarch 0:1.27-2.el7 will be installed
---> Package perl-libs.x86_64 4:5.16.3-299.el7_9 will be installed
---> Package perl-macros.x86_64 4:5.16.3-299.el7_9 will be installed
---> Package perl-threads.x86_64 0:1.87-4.el7 will be installed
---> Package perl-threads-shared.x86_64 0:1.43-6.el7 will be installed
--> Running transaction check
---> Package perl-Encode.x86_64 0:2.51-7.el7 will be installed
---> Package perl-Pod-Escapes.noarch 1:1.04-299.el7_9 will be installed
---> Package perl-Pod-Perldoc.noarch 0:3.20-4.el7 will be installed
--> Processing Dependency: perl(parent) for package: perl-Pod-Perldoc-3.20-4.el7.noarch
--> Processing Dependency: perl(HTTP::Tiny) for package: perl-Pod-Perldoc-3.20-4.el7.noarch
---> Package perl-podlators.noarch 0:2.5.1-3.el7 will be installed
--> Running transaction check
---> Package perl-HTTP-Tiny.noarch 0:0.033-3.el7 will be installed
---> Package perl-parent.noarch 1:0.225-244.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=======================================================================================
 Package                Arch   Version                  Repository                Size
=======================================================================================
Installing:
 mysql-community-server x86_64 5.7.18-1.el7             /mysql-community-server-5.7.18-1.el7.x86_64
                                                                                 730 M
Installing for dependencies:
 net-tools              x86_64 2.0-0.25.20131004git.el7 base                     306 k
 perl                   x86_64 4:5.16.3-299.el7_9       updates                  8.0 M
 perl-Carp              noarch 1.26-244.el7             base                      19 k
 perl-Encode            x86_64 2.51-7.el7               base                     1.5 M
 perl-Exporter          noarch 5.68-3.el7               base                      28 k
 perl-File-Path         noarch 2.09-2.el7               base                      26 k
 perl-File-Temp         noarch 0.23.01-3.el7            base                      56 k
 perl-Filter            x86_64 1.49-3.el7               base                      76 k
 perl-Getopt-Long       noarch 2.40-3.el7               base                      56 k
 perl-HTTP-Tiny         noarch 0.033-3.el7              base                      38 k
 perl-PathTools         x86_64 3.40-5.el7               base                      82 k
 perl-Pod-Escapes       noarch 1:1.04-299.el7_9         updates                   52 k
 perl-Pod-Perldoc       noarch 3.20-4.el7               base                      87 k
 perl-Pod-Simple        noarch 1:3.28-4.el7             base                     216 k
 perl-Pod-Usage         noarch 1.63-3.el7               base                      27 k
 perl-Scalar-List-Utils x86_64 1.27-248.el7             base                      36 k
 perl-Socket            x86_64 2.010-5.el7              base                      49 k
 perl-Storable          x86_64 2.45-3.el7               base                      77 k
 perl-Text-ParseWords   noarch 3.29-4.el7               base                      14 k
 perl-Time-HiRes        x86_64 4:1.9725-3.el7           base                      45 k
 perl-Time-Local        noarch 1.2300-2.el7             base                      24 k
 perl-constant          noarch 1.27-2.el7               base                      19 k
 perl-libs              x86_64 4:5.16.3-299.el7_9       updates                  690 k
 perl-macros            x86_64 4:5.16.3-299.el7_9       updates                   44 k
 perl-parent            noarch 1:0.225-244.el7          base                      12 k
 perl-podlators         noarch 2.5.1-3.el7              base                     112 k
 perl-threads           x86_64 1.87-4.el7               base                      49 k
 perl-threads-shared    x86_64 1.43-6.el7               base                      39 k

Transaction Summary
=======================================================================================
Install  1 Package (+28 Dependent packages)

Total size: 742 M
Total download size: 12 M
Installed size: 767 M
Downloading packages:
warning: /var/cache/yum/x86_64/7/base/packages/net-tools-2.0-0.25.20131004git.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
Public key for net-tools-2.0-0.25.20131004git.el7.x86_64.rpm is not installed
(1/28): net-tools-2.0-0.25.20131004git.el7.x86_64.rpm           | 306 kB  00:00:00     
(2/28): perl-File-Path-2.09-2.el7.noarch.rpm                    |  26 kB  00:00:00     
(3/28): perl-File-Temp-0.23.01-3.el7.noarch.rpm                 |  56 kB  00:00:00     
(4/28): perl-Carp-1.26-244.el7.noarch.rpm                       |  19 kB  00:00:00     
(5/28): perl-Filter-1.49-3.el7.x86_64.rpm                       |  76 kB  00:00:00     
(6/28): perl-Getopt-Long-2.40-3.el7.noarch.rpm                  |  56 kB  00:00:00     
(7/28): perl-HTTP-Tiny-0.033-3.el7.noarch.rpm                   |  38 kB  00:00:00     
Public key for perl-Pod-Escapes-1.04-299.el7_9.noarch.rpm is not installed00:01:24 ETA 
(8/28): perl-Pod-Escapes-1.04-299.el7_9.noarch.rpm              |  52 kB  00:00:00     
(9/28): perl-Exporter-5.68-3.el7.noarch.rpm                     |  28 kB  00:00:00     
(10/28): perl-PathTools-3.40-5.el7.x86_64.rpm                   |  82 kB  00:00:00     
(11/28): perl-Pod-Perldoc-3.20-4.el7.noarch.rpm                 |  87 kB  00:00:00     
(12/28): perl-Pod-Usage-1.63-3.el7.noarch.rpm                   |  27 kB  00:00:00     
(13/28): perl-Scalar-List-Utils-1.27-248.el7.x86_64.rpm         |  36 kB  00:00:00     
(14/28): perl-Socket-2.010-5.el7.x86_64.rpm                     |  49 kB  00:00:00     
(15/28): perl-Storable-2.45-3.el7.x86_64.rpm                    |  77 kB  00:00:00     
(16/28): perl-Text-ParseWords-3.29-4.el7.noarch.rpm             |  14 kB  00:00:00     
(17/28): perl-Pod-Simple-3.28-4.el7.noarch.rpm                  | 216 kB  00:00:01     
(18/28): perl-Time-HiRes-1.9725-3.el7.x86_64.rpm                |  45 kB  00:00:00     
(19/28): perl-Time-Local-1.2300-2.el7.noarch.rpm                |  24 kB  00:00:00     
(20/28): perl-constant-1.27-2.el7.noarch.rpm                    |  19 kB  00:00:00     
(21/28): perl-macros-5.16.3-299.el7_9.x86_64.rpm                |  44 kB  00:00:00     
(22/28): perl-libs-5.16.3-299.el7_9.x86_64.rpm                  | 690 kB  00:00:00     
(23/28): perl-threads-1.87-4.el7.x86_64.rpm                     |  49 kB  00:00:00     
(24/28): perl-podlators-2.5.1-3.el7.noarch.rpm                  | 112 kB  00:00:00     
(25/28): perl-threads-shared-1.43-6.el7.x86_64.rpm              |  39 kB  00:00:00     
(26/28): perl-parent-0.225-244.el7.noarch.rpm                   |  12 kB  00:00:00     
(27/28): perl-Encode-2.51-7.el7.x86_64.rpm                      | 1.5 MB  00:00:04     
(28/28): perl-5.16.3-299.el7_9.x86_64.rpm                       | 8.0 MB  00:00:06     
---------------------------------------------------------------------------------------
Total                                                     1.8 MB/s |  12 MB  00:06     
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Importing GPG key 0xF4A80EB5:
 Userid     : "CentOS-7 Key (CentOS 7 Official Signing Key) <security@centos.org>"
 Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5
 Package    : centos-release-7-5.1804.el7.centos.x86_64 (@anaconda)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
2:postfix-2.10.1-6.el7.x86_64 has missing requires of libmysqlclient.so.18()(64bit)
2:postfix-2.10.1-6.el7.x86_64 has missing requires of libmysqlclient.so.18(libmysqlclient_18)(64bit)
  Installing : 1:perl-parent-0.225-244.el7.noarch                                 1/29 
  Installing : perl-HTTP-Tiny-0.033-3.el7.noarch                                  2/29 
  Installing : perl-podlators-2.5.1-3.el7.noarch                                  3/29 
  Installing : perl-Pod-Perldoc-3.20-4.el7.noarch                                 4/29 
  Installing : 1:perl-Pod-Escapes-1.04-299.el7_9.noarch                           5/29 
  Installing : perl-Encode-2.51-7.el7.x86_64                                      6/29 
  Installing : perl-Text-ParseWords-3.29-4.el7.noarch                             7/29 
  Installing : perl-Pod-Usage-1.63-3.el7.noarch                                   8/29 
  Installing : 4:perl-macros-5.16.3-299.el7_9.x86_64                              9/29 
  Installing : perl-Storable-2.45-3.el7.x86_64                                   10/29 
  Installing : perl-Exporter-5.68-3.el7.noarch                                   11/29 
  Installing : perl-constant-1.27-2.el7.noarch                                   12/29 
  Installing : perl-Socket-2.010-5.el7.x86_64                                    13/29 
  Installing : perl-Time-Local-1.2300-2.el7.noarch                               14/29 
  Installing : perl-Carp-1.26-244.el7.noarch                                     15/29 
  Installing : 4:perl-Time-HiRes-1.9725-3.el7.x86_64                             16/29 
  Installing : perl-PathTools-3.40-5.el7.x86_64                                  17/29 
  Installing : perl-Scalar-List-Utils-1.27-248.el7.x86_64                        18/29 
  Installing : 1:perl-Pod-Simple-3.28-4.el7.noarch                               19/29 
  Installing : perl-File-Temp-0.23.01-3.el7.noarch                               20/29 
  Installing : perl-File-Path-2.09-2.el7.noarch                                  21/29 
  Installing : perl-threads-shared-1.43-6.el7.x86_64                             22/29 
  Installing : perl-threads-1.87-4.el7.x86_64                                    23/29 
  Installing : perl-Filter-1.49-3.el7.x86_64                                     24/29 
  Installing : 4:perl-libs-5.16.3-299.el7_9.x86_64                               25/29 
  Installing : perl-Getopt-Long-2.40-3.el7.noarch                                26/29 
  Installing : 4:perl-5.16.3-299.el7_9.x86_64                                    27/29 
  Installing : net-tools-2.0-0.25.20131004git.el7.x86_64                         28/29 
  Installing : mysql-community-server-5.7.18-1.el7.x86_64                        29/29 
  Verifying  : perl-HTTP-Tiny-0.033-3.el7.noarch                                  1/29 
  Verifying  : perl-threads-shared-1.43-6.el7.x86_64                              2/29 
  Verifying  : perl-Storable-2.45-3.el7.x86_64                                    3/29 
  Verifying  : perl-Exporter-5.68-3.el7.noarch                                    4/29 
  Verifying  : perl-constant-1.27-2.el7.noarch                                    5/29 
  Verifying  : perl-PathTools-3.40-5.el7.x86_64                                   6/29 
  Verifying  : 4:perl-macros-5.16.3-299.el7_9.x86_64                              7/29 
  Verifying  : 1:perl-parent-0.225-244.el7.noarch                                 8/29 
  Verifying  : perl-Socket-2.010-5.el7.x86_64                                     9/29 
  Verifying  : perl-File-Temp-0.23.01-3.el7.noarch                               10/29 
  Verifying  : net-tools-2.0-0.25.20131004git.el7.x86_64                         11/29 
  Verifying  : 1:perl-Pod-Simple-3.28-4.el7.noarch                               12/29 
  Verifying  : perl-Time-Local-1.2300-2.el7.noarch                               13/29 
  Verifying  : 1:perl-Pod-Escapes-1.04-299.el7_9.noarch                          14/29 
  Verifying  : perl-Carp-1.26-244.el7.noarch                                     15/29 
  Verifying  : 4:perl-Time-HiRes-1.9725-3.el7.x86_64                             16/29 
  Verifying  : perl-Scalar-List-Utils-1.27-248.el7.x86_64                        17/29 
  Verifying  : perl-Pod-Usage-1.63-3.el7.noarch                                  18/29 
  Verifying  : perl-Encode-2.51-7.el7.x86_64                                     19/29 
  Verifying  : perl-Pod-Perldoc-3.20-4.el7.noarch                                20/29 
  Verifying  : perl-podlators-2.5.1-3.el7.noarch                                 21/29 
  Verifying  : 4:perl-5.16.3-299.el7_9.x86_64                                    22/29 
  Verifying  : perl-File-Path-2.09-2.el7.noarch                                  23/29 
  Verifying  : mysql-community-server-5.7.18-1.el7.x86_64                        24/29 
  Verifying  : perl-threads-1.87-4.el7.x86_64                                    25/29 
  Verifying  : perl-Filter-1.49-3.el7.x86_64                                     26/29 
  Verifying  : perl-Getopt-Long-2.40-3.el7.noarch                                27/29 
  Verifying  : perl-Text-ParseWords-3.29-4.el7.noarch                            28/29 
  Verifying  : 4:perl-libs-5.16.3-299.el7_9.x86_64                               29/29 

Installed:
  mysql-community-server.x86_64 0:5.7.18-1.el7                                         

Dependency Installed:
  net-tools.x86_64 0:2.0-0.25.20131004git.el7                                          
  perl.x86_64 4:5.16.3-299.el7_9                                                       
  perl-Carp.noarch 0:1.26-244.el7                                                      
  perl-Encode.x86_64 0:2.51-7.el7                                                      
  perl-Exporter.noarch 0:5.68-3.el7                                                    
  perl-File-Path.noarch 0:2.09-2.el7                                                   
  perl-File-Temp.noarch 0:0.23.01-3.el7                                                
  perl-Filter.x86_64 0:1.49-3.el7                                                      
  perl-Getopt-Long.noarch 0:2.40-3.el7                                                 
  perl-HTTP-Tiny.noarch 0:0.033-3.el7                                                  
  perl-PathTools.x86_64 0:3.40-5.el7                                                   
  perl-Pod-Escapes.noarch 1:1.04-299.el7_9                                             
  perl-Pod-Perldoc.noarch 0:3.20-4.el7                                                 
  perl-Pod-Simple.noarch 1:3.28-4.el7                                                  
  perl-Pod-Usage.noarch 0:1.63-3.el7                                                   
  perl-Scalar-List-Utils.x86_64 0:1.27-248.el7                                         
  perl-Socket.x86_64 0:2.010-5.el7                                                     
  perl-Storable.x86_64 0:2.45-3.el7                                                    
  perl-Text-ParseWords.noarch 0:3.29-4.el7                                             
  perl-Time-HiRes.x86_64 4:1.9725-3.el7                                                
  perl-Time-Local.noarch 0:1.2300-2.el7                                                
  perl-constant.noarch 0:1.27-2.el7                                                    
  perl-libs.x86_64 4:5.16.3-299.el7_9                                                  
  perl-macros.x86_64 4:5.16.3-299.el7_9                                                
  perl-parent.noarch 1:0.225-244.el7                                                   
  perl-podlators.noarch 0:2.5.1-3.el7                                                  
  perl-threads.x86_64 0:1.87-4.el7                                                     
  perl-threads-shared.x86_64 0:1.43-6.el7                                              

Complete!

修改 MySQL 数据库配置,在/etc/my.cnf 文件中添加如表 6-1 所示的 MySQL 数据 库配置项。
表 6-1 MySQL 数据库配置
字段 配置值 字段说明
default-storage-engine innodb 设置 innodb 为默认的存储引擎。
innodb_file_per_table - 设置每个表的数据单独保存,而不是统一保存在 innodb 系统表空间中。单独保存有方便管理和提 升性能两方面优势。
collation-server utf8_general_ci 设置支持中文编码字符集。
init-connect 'SET NAMES utf8' 设置用户登录到数据库之后,在执行第一次查询之 前执行 SET NAMES utf8 命令,将使用的字符编码 设定为 utf8。
character-set-server utf8 将 MySQL 服务器字符集设定为 utf8。
将以下配置信息添加到/etc/my.cnf 文件 symbolic-links=0 配置信息的下方。
default-storage-engine=innodb
innodb_file_per_table
collation-server=utf8_general_ci
init-connect='SET NAMES utf8'
character-set-server=utf8

启动 MySQL 数据库。
查询 MySQL 数据库状态。mysqld 进程状态为 active (running),则表示 MySQL 数 据库正常运行。
如果 mysqld 进程状态为 failed,则表示 MySQL 数据库启动异常。此时需要排查 /etc/my.cnf 文件。
[root@master ~]# systemctl start mysqld
[root@master ~]# systemctl enable mysqld
[root@master ~]# systemctl status mysqld
● mysqld.service - MySQL Server
   Loaded: loaded (/usr/lib/systemd/system/mysqld.service; enabled; vendor preset: disabled)
   Active: active (running) since Wed 2023-03-22 10:38:17 EDT; 30s ago
     Docs: man:mysqld(8)
           http://dev.mysql.com/doc/refman/en/using-systemd.html
 Main PID: 4071 (mysqld)
   CGroup: /system.slice/mysqld.service
           └─4071 /usr/sbin/mysqld --daemonize --pid-file=/var/run/mysqld/mysqld.pid...

Mar 22 10:38:04 master systemd[1]: Starting MySQL Server...
Mar 22 10:38:17 master systemd[1]: Started MySQL Server.

查看mysql的端口(3306)
[root@master ~]# ss -antl
State       Recv-Q Send-Q Local Address:Port               Peer Address:Port              
LISTEN      0      128             *:50020                       *:*                  
LISTEN      0      128    192.168.100.10:9000                        *:*                  
LISTEN      0      128             *:50090                       *:*                  
LISTEN      0      128     127.0.0.1:40461                       *:*                  
LISTEN      0      128             *:50070                       *:*                  
LISTEN      0      128             *:22                          *:*                  
LISTEN      0      100     127.0.0.1:25                          *:*                  
LISTEN      0      50              *:50010                       *:*                  
LISTEN      0      128             *:50075                       *:*                  
LISTEN      0      80             :::3306                       :::*                  
LISTEN      0      128            :::22                         :::*                  
LISTEN      0      100           ::1:25                         :::*          
查询 MySQL 数据库默认密码。
MySQL 数据库安装后的默认密码保存在/var/log/mysqld.log 文件中,在该文件中以 password 关键字搜索默认密码。
[root@master ~]# cat /var/log/mysqld.log | grep password
2023-03-22T14:38:11.993912Z 1 [Note] A temporary password is generated for root@localhost: prhqisH#u5?v      # 默 认 密 码 为 prhqisH#u5?v

MySQL 数据库是安装后随机生成的,所以每次安装后生成的默认密码不相同。

MySQL 数据库初始化。
执行 mysql_secure_installation 命令初始化 MySQL 数据库,初始化过程中需要设定 数据库 root 用户登录密码,密码需符合安全规则,包括大小写字符、数字和特殊符号, 可设定密码为 Password123¥。
在进行 MySQL 数据库初始化过程中会出现以下交互确认信息:
1)Change the password for root ? ((Press y|Y for Yes, any other key for No)表示是否更改 root 用户密码,在键盘输入 y 和回车。
2)Do you wish to continue with the password provided?(Press y|Y for Yes, any other key for No)表示是否使用设定的密码继续,在键盘输入 y 和回车。
3)Remove anonymous users? (Press y|Y for Yes, any other key for No)表示是 否删除匿名用户,在键盘输入 y 和回车。
4)Disallow root login remotely? (Press y|Y for Yes, any other key for No) 表示是否拒绝 root 用户远程登录,在键盘输入 n 和回车,表示允许 root 用户远程登录。
5)Remove test database and access to it? (Press y|Y for Yes, any other key for No)表示是否删除测试数据库,在键盘输入 y 和回车。
6)Reload privilege tables now? (Press y|Y for Yes, any other key for No) 表示是否重新加载授权表,在键盘输入 y 和回车。
mysql_secure_installation 命令执行过程如下:
[root@master ~]# mysql_secure_installation 

Securing the MySQL server deployment.

Enter password for user root:     # 输入/var/log/mysqld.log 文件中查询到的默认 root 用户登录密码
The existing password for the user account root has expired. Please set a new password.

New password:                            # 输入新密码 Password123$

Re-enter new password:                   # 再次输入新密码 Password123$
The 'validate_password' plugin is installed on the server.
The subsequent steps will run with the existing configuration
of the plugin.
Using existing password for root.
Estimated strength of the password: 100 
Do you wish to continue with the password provided?(Press y|Y for Yes, any other key for No) : y                           #输入y
By default, a MySQL installation has an anonymous user,
allowing anyone to log into MySQL without having to have
a user account created for them. This is intended only for
testing, and to make the installation go a bit smoother.
You should remove them before moving into a production
environment.

Remove anonymous users? (Press y|Y for Yes, any other key for No) : y
Success.


Normally, root should only be allowed to connect from
'localhost'. This ensures that someone cannot guess at
the root password from the network.

Disallow root login remotely? (Press y|Y for Yes, any other key for No) : n
             #输入n
 ... skipping.
By default, MySQL comes with a database named 'test' that
anyone can access. This is also intended only for testing,
and should be removed before moving into a production
environment.


Remove test database and access to it? (Press y|Y for Yes, any other key for No) : y                                         #输入y
 - Dropping test database...
Success.

 - Removing privileges on test database...
Success.

Reloading the privilege tables will ensure that all changes
made so far will take effect immediately.

Reload privilege tables now? (Press y|Y for Yes, any other key for No) : 
                                            #输入回车
 ... skipping.
All done! 

添加 root 用户从本地和远程访问 MySQL 数据库表单的授权。
[root@master ~]# mysql -uroot -p'Passwd123$'
mysql: [Warning] Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 8
Server version: 5.7.18 MySQL Community Server (GPL)

Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> grant all privileges on *.* to root@'localhost'identified by 'Passwd123$';     # 添加 root 用户本地访问授权

Query OK, 0 rows affected, 1 warning (0.00 sec)

mysql> grant all privileges on *.* to root@'%' identified by 'Passwd123$'; # 添加 root 用户远程访问授权
Query OK, 0 rows affected, 1 warning (0.00 sec)

mysql> flush privileges;    # 刷新授权
Query OK, 0 rows affected (0.00 sec)

mysql> select user,host from mysql.user where user='root';    # 查询 root 用户授权情况
| user | host      |
+------+-----------+
| root | %         |
| root | localhost |
+------+-----------+
2 rows in set (0.00 sec)

mysql> exit     # 退出 MySQL 数据库
Bye

1.4.2.3. 步骤三:部署Hive 组件

(1)使用 root 用户,将 Hive 安装包 /root/apche-hive/apache-hive-2.0.0-bin.tar.gz 路解压到/usr/local/src 路径下。
[root@master apche-hive]# tar -zxvf /root/apche-hive/apache-hive-2.0.0-bin.tar.gz -C /usr/local/src
apache-hive-2.0.0-bin/conf/hive-log4j2.properties.template
apache-hive-2.0.0-bin/conf/hive-exec-log4j2.properties.template
apache-hive-2.0.0-bin/conf/beeline-log4j2.properties.template
apache-hive-2.0.0-bin/conf/llap-daemon-log4j2.properties.template
apache-hive-2.0.0-bin/hcatalog/share/doc/hcatalog/README.txt
apache-hive-2.0.0-bin/LICENSE
apache-hive-2.0.0-bin/NOTICE
apache-hive-2.0.0-bin/README.txt
apache-hive-2.0.0-bin/RELEASE_NOTES.txt
apache-hive-2.0.0-bin/examples/files/2000_cols_data.csv
apache-hive-2.0.0-bin/examples/files/agg_01-p1.txt
apache-hive-2.0.0-bin/examples/files/agg_01-p2.txt
apache-hive-2.0.0-bin/examples/files/agg_01-p3.txt
apache-hive-2.0.0-bin/examples/files/alltypes.txt
apache-hive-2.0.0-bin/examples/files/alltypes2.txt
apache-hive-2.0.0-bin/examples/files/apache.access.2.log
apache-hive-2.0.0-bin/examples/files/apache.access.log
apache-hive-2.0.0-bin/examples/files/archive_corrupt.rc
apache-hive-2.0.0-bin/examples/files/array_table.txt
apache-hive-2.0.0-bin/examples/files/avro_charvarchar.txt
apache-hive-2.0.0-bin/examples/files/avro_date.txt
apache-hive-2.0.0-bin/examples/files/avro_timestamp.txt
apache-hive-2.0.0-bin/examples/files/AvroPrimitiveInList.parquet
apache-hive-2.0.0-bin/examples/files/AvroSingleFieldGroupInList.parquet
apache-hive-2.0.0-bin/examples/files/binary.txt
apache-hive-2.0.0-bin/examples/files/bool.txt
apache-hive-2.0.0-bin/examples/files/bool_literal.txt
apache-hive-2.0.0-bin/examples/files/cbo_t1.txt
apache-hive-2.0.0-bin/examples/files/cbo_t2.txt
apache-hive-2.0.0-bin/examples/files/cbo_t3.txt
apache-hive-2.0.0-bin/examples/files/cbo_t4.txt
apache-hive-2.0.0-bin/examples/files/cbo_t5.txt
apache-hive-2.0.0-bin/examples/files/cbo_t6.txt
apache-hive-2.0.0-bin/examples/files/char_varchar_udf.txt
apache-hive-2.0.0-bin/examples/files/complex.seq
apache-hive-2.0.0-bin/examples/files/covar_tab.txt
apache-hive-2.0.0-bin/examples/files/create_nested_type.txt
apache-hive-2.0.0-bin/examples/files/csv.txt
apache-hive-2.0.0-bin/examples/files/ct_events_clean.txt
apache-hive-2.0.0-bin/examples/files/customer_address.txt
apache-hive-2.0.0-bin/examples/files/customers.txt
apache-hive-2.0.0-bin/examples/files/data_with_escape.txt
apache-hive-2.0.0-bin/examples/files/datatypes.txt
apache-hive-2.0.0-bin/examples/files/dec.avro
apache-hive-2.0.0-bin/examples/files/dec.parq
apache-hive-2.0.0-bin/examples/files/dec.txt
apache-hive-2.0.0-bin/examples/files/dec_comp.txt
apache-hive-2.0.0-bin/examples/files/decimal.txt
apache-hive-2.0.0-bin/examples/files/decimal_10_0.txt
apache-hive-2.0.0-bin/examples/files/decimal_1_1.txt
apache-hive-2.0.0-bin/examples/files/dept.txt
apache-hive-2.0.0-bin/examples/files/dim-data.txt
apache-hive-2.0.0-bin/examples/files/dim_shops.txt
apache-hive-2.0.0-bin/examples/files/doctors.avro
apache-hive-2.0.0-bin/examples/files/docurl.txt
apache-hive-2.0.0-bin/examples/files/double.txt
apache-hive-2.0.0-bin/examples/files/dynamic_partition_insert.txt
apache-hive-2.0.0-bin/examples/files/dynpart_test.txt
apache-hive-2.0.0-bin/examples/files/dynpartdata1.txt
apache-hive-2.0.0-bin/examples/files/dynpartdata2.txt
apache-hive-2.0.0-bin/examples/files/emp.txt
apache-hive-2.0.0-bin/examples/files/emp2.txt
apache-hive-2.0.0-bin/examples/files/employee.dat
apache-hive-2.0.0-bin/examples/files/employee2.dat
apache-hive-2.0.0-bin/examples/files/employee_part.txt
apache-hive-2.0.0-bin/examples/files/empty1.txt
apache-hive-2.0.0-bin/examples/files/empty2.txt
apache-hive-2.0.0-bin/examples/files/encoding-utf8.txt
apache-hive-2.0.0-bin/examples/files/encoding_iso-8859-1.txt
apache-hive-2.0.0-bin/examples/files/episodes.avro
apache-hive-2.0.0-bin/examples/files/escape_crlf.txt
apache-hive-2.0.0-bin/examples/files/escapetest.txt
apache-hive-2.0.0-bin/examples/files/extrapolate_stats_full.txt
apache-hive-2.0.0-bin/examples/files/extrapolate_stats_partial.txt
apache-hive-2.0.0-bin/examples/files/extrapolate_stats_partial_ndv.txt
apache-hive-2.0.0-bin/examples/files/fact-data.txt
apache-hive-2.0.0-bin/examples/files/flights_join.txt
apache-hive-2.0.0-bin/examples/files/flights_tiny.txt
apache-hive-2.0.0-bin/examples/files/flights_tiny.txt.1
apache-hive-2.0.0-bin/examples/files/futurama_episodes.avro
apache-hive-2.0.0-bin/examples/files/grad.avsc
apache-hive-2.0.0-bin/examples/files/groupby_groupingid.txt
apache-hive-2.0.0-bin/examples/files/grouping_sets.txt
apache-hive-2.0.0-bin/examples/files/grouping_sets1.txt
apache-hive-2.0.0-bin/examples/files/grouping_sets2.txt
apache-hive-2.0.0-bin/examples/files/hive_626_bar.txt
apache-hive-2.0.0-bin/examples/files/hive_626_count.txt
apache-hive-2.0.0-bin/examples/files/hive_626_foo.txt
apache-hive-2.0.0-bin/examples/files/HiveGroup.parquet
apache-hive-2.0.0-bin/examples/files/HiveRequiredGroupInList.parquet
apache-hive-2.0.0-bin/examples/files/in1.txt
apache-hive-2.0.0-bin/examples/files/in2.txt
apache-hive-2.0.0-bin/examples/files/in3.txt
apache-hive-2.0.0-bin/examples/files/in4.txt
apache-hive-2.0.0-bin/examples/files/in5.txt
apache-hive-2.0.0-bin/examples/files/in6.txt
apache-hive-2.0.0-bin/examples/files/in7.txt
apache-hive-2.0.0-bin/examples/files/in8.txt
apache-hive-2.0.0-bin/examples/files/in9.txt
apache-hive-2.0.0-bin/examples/files/in_file.dat
apache-hive-2.0.0-bin/examples/files/infer_const_type.txt
apache-hive-2.0.0-bin/examples/files/input.txt
apache-hive-2.0.0-bin/examples/files/int.txt
apache-hive-2.0.0-bin/examples/files/json.txt
apache-hive-2.0.0-bin/examples/files/keystore.jks
apache-hive-2.0.0-bin/examples/files/kv1.seq
apache-hive-2.0.0-bin/examples/files/kv1.string-sorted.txt
apache-hive-2.0.0-bin/examples/files/kv1.txt
apache-hive-2.0.0-bin/examples/files/kv1.val.sorted.txt
apache-hive-2.0.0-bin/examples/files/kv10.txt
apache-hive-2.0.0-bin/examples/files/kv1_broken.seq
apache-hive-2.0.0-bin/examples/files/kv1_cb.txt
apache-hive-2.0.0-bin/examples/files/kv1_cc.txt
apache-hive-2.0.0-bin/examples/files/kv1kv2.cogroup.txt
apache-hive-2.0.0-bin/examples/files/kv2.txt
apache-hive-2.0.0-bin/examples/files/kv3.txt
apache-hive-2.0.0-bin/examples/files/kv4.txt
apache-hive-2.0.0-bin/examples/files/kv5.txt
apache-hive-2.0.0-bin/examples/files/kv6.txt
apache-hive-2.0.0-bin/examples/files/kv7.txt
apache-hive-2.0.0-bin/examples/files/kv8.txt
apache-hive-2.0.0-bin/examples/files/kv9.txt
apache-hive-2.0.0-bin/examples/files/leftsemijoin_mr_t1.txt
apache-hive-2.0.0-bin/examples/files/leftsemijoin_mr_t2.txt
apache-hive-2.0.0-bin/examples/files/lineitem.txt
apache-hive-2.0.0-bin/examples/files/loc.txt
apache-hive-2.0.0-bin/examples/files/location.txt
apache-hive-2.0.0-bin/examples/files/lt100.sorted.txt
apache-hive-2.0.0-bin/examples/files/lt100.txt
apache-hive-2.0.0-bin/examples/files/lt100.txt.deflate
apache-hive-2.0.0-bin/examples/files/map_null_schema.avro
apache-hive-2.0.0-bin/examples/files/map_null_val.avro
apache-hive-2.0.0-bin/examples/files/map_table.txt
apache-hive-2.0.0-bin/examples/files/mapNull.txt
apache-hive-2.0.0-bin/examples/files/MultiFieldGroupInList.parquet
apache-hive-2.0.0-bin/examples/files/nested_complex.txt
apache-hive-2.0.0-bin/examples/files/nested_orders.txt
apache-hive-2.0.0-bin/examples/files/nestedcomplex_additional.txt
apache-hive-2.0.0-bin/examples/files/NestedMap.parquet
apache-hive-2.0.0-bin/examples/files/NewOptionalGroupInList.parquet
apache-hive-2.0.0-bin/examples/files/NewRequiredGroupInList.parquet
apache-hive-2.0.0-bin/examples/files/non_ascii_tbl.txt
apache-hive-2.0.0-bin/examples/files/null.txt
apache-hive-2.0.0-bin/examples/files/nullfile.txt
apache-hive-2.0.0-bin/examples/files/nulls.txt
apache-hive-2.0.0-bin/examples/files/opencsv-data.txt
apache-hive-2.0.0-bin/examples/files/orc_create.txt
apache-hive-2.0.0-bin/examples/files/orc_create_people.txt
apache-hive-2.0.0-bin/examples/files/orc_split_elim.orc
apache-hive-2.0.0-bin/examples/files/orders.txt
apache-hive-2.0.0-bin/examples/files/parquet_array_null_element.txt
apache-hive-2.0.0-bin/examples/files/parquet_columnar.txt
apache-hive-2.0.0-bin/examples/files/parquet_create.txt
apache-hive-2.0.0-bin/examples/files/parquet_external_time.parq
apache-hive-2.0.0-bin/examples/files/parquet_partitioned.txt
apache-hive-2.0.0-bin/examples/files/parquet_type_promotion.txt
apache-hive-2.0.0-bin/examples/files/parquet_types.txt
apache-hive-2.0.0-bin/examples/files/part.rc
apache-hive-2.0.0-bin/examples/files/part.seq
apache-hive-2.0.0-bin/examples/files/part_tiny.txt
apache-hive-2.0.0-bin/examples/files/person age.txt
apache-hive-2.0.0-bin/examples/files/person+age.txt
apache-hive-2.0.0-bin/examples/files/posexplode_data.txt
apache-hive-2.0.0-bin/examples/files/primitive_type_arrays.txt
apache-hive-2.0.0-bin/examples/files/ProxyAuth.res
apache-hive-2.0.0-bin/examples/files/pw17.txt
apache-hive-2.0.0-bin/examples/files/sales.txt
apache-hive-2.0.0-bin/examples/files/sample-queryplan-in-history.txt
apache-hive-2.0.0-bin/examples/files/sample-queryplan.txt
apache-hive-2.0.0-bin/examples/files/sample.json
apache-hive-2.0.0-bin/examples/files/sample2.json
apache-hive-2.0.0-bin/examples/files/service_request_clean.txt
apache-hive-2.0.0-bin/examples/files/SingleFieldGroupInList.parquet
apache-hive-2.0.0-bin/examples/files/smallsrcsortbucket1outof4.txt
apache-hive-2.0.0-bin/examples/files/smallsrcsortbucket2outof4.txt
apache-hive-2.0.0-bin/examples/files/smallsrcsortbucket3outof4.txt
apache-hive-2.0.0-bin/examples/files/smallsrcsortbucket4outof4.txt
apache-hive-2.0.0-bin/examples/files/smb_bucket_input.rc
apache-hive-2.0.0-bin/examples/files/smb_bucket_input.txt
apache-hive-2.0.0-bin/examples/files/smbbucket_1.rc
apache-hive-2.0.0-bin/examples/files/smbbucket_1.txt
apache-hive-2.0.0-bin/examples/files/smbbucket_2.rc
apache-hive-2.0.0-bin/examples/files/smbbucket_2.txt
apache-hive-2.0.0-bin/examples/files/smbbucket_3.rc
apache-hive-2.0.0-bin/examples/files/smbbucket_3.txt
apache-hive-2.0.0-bin/examples/files/SortCol1Col2.txt
apache-hive-2.0.0-bin/examples/files/SortCol2Col1.txt
apache-hive-2.0.0-bin/examples/files/SortDescCol1Col2.txt
apache-hive-2.0.0-bin/examples/files/SortDescCol2Col1.txt
apache-hive-2.0.0-bin/examples/files/sortdp.txt
apache-hive-2.0.0-bin/examples/files/sour1.txt
apache-hive-2.0.0-bin/examples/files/sour2.txt
apache-hive-2.0.0-bin/examples/files/source.txt
apache-hive-2.0.0-bin/examples/files/srcbucket0.txt
apache-hive-2.0.0-bin/examples/files/srcbucket1.txt
apache-hive-2.0.0-bin/examples/files/srcbucket20.txt
apache-hive-2.0.0-bin/examples/files/srcbucket21.txt
apache-hive-2.0.0-bin/examples/files/srcbucket22.txt
apache-hive-2.0.0-bin/examples/files/srcbucket23.txt
apache-hive-2.0.0-bin/examples/files/srcsortbucket1outof4.txt
apache-hive-2.0.0-bin/examples/files/srcsortbucket2outof4.txt
apache-hive-2.0.0-bin/examples/files/srcsortbucket3outof4.txt
apache-hive-2.0.0-bin/examples/files/srcsortbucket4outof4.txt
apache-hive-2.0.0-bin/examples/files/store.txt
apache-hive-2.0.0-bin/examples/files/store_sales.txt
apache-hive-2.0.0-bin/examples/files/string.txt
apache-hive-2.0.0-bin/examples/files/StringMapOfOptionalIntArray.parquet
apache-hive-2.0.0-bin/examples/files/symlink1.txt
apache-hive-2.0.0-bin/examples/files/symlink2.txt
apache-hive-2.0.0-bin/examples/files/T1.txt
apache-hive-2.0.0-bin/examples/files/T2.txt
apache-hive-2.0.0-bin/examples/files/T3.txt
apache-hive-2.0.0-bin/examples/files/tbl.txt
apache-hive-2.0.0-bin/examples/files/test.dat
apache-hive-2.0.0-bin/examples/files/test1.txt
apache-hive-2.0.0-bin/examples/files/test2.dat
apache-hive-2.0.0-bin/examples/files/text-en.txt
apache-hive-2.0.0-bin/examples/files/things.txt
apache-hive-2.0.0-bin/examples/files/things2.txt
apache-hive-2.0.0-bin/examples/files/ThriftPrimitiveInList.parquet
apache-hive-2.0.0-bin/examples/files/ThriftSingleFieldGroupInList.parquet
apache-hive-2.0.0-bin/examples/files/tiny_a.txt
apache-hive-2.0.0-bin/examples/files/tiny_b.txt
apache-hive-2.0.0-bin/examples/files/tjoin1.txt
apache-hive-2.0.0-bin/examples/files/tjoin2.txt
apache-hive-2.0.0-bin/examples/files/truststore.jks
apache-hive-2.0.0-bin/examples/files/ts_formats.txt
apache-hive-2.0.0-bin/examples/files/tsformat.json
apache-hive-2.0.0-bin/examples/files/type_evolution.avro
apache-hive-2.0.0-bin/examples/files/UnannotatedListOfGroups.parquet
apache-hive-2.0.0-bin/examples/files/UnannotatedListOfPrimitives.parquet
apache-hive-2.0.0-bin/examples/files/union_input.txt
apache-hive-2.0.0-bin/examples/files/UserVisits.dat
apache-hive-2.0.0-bin/examples/files/v1.txt
apache-hive-2.0.0-bin/examples/files/v2.txt
apache-hive-2.0.0-bin/examples/files/vc1.txt
apache-hive-2.0.0-bin/examples/files/x.txt
apache-hive-2.0.0-bin/examples/files/y.txt
apache-hive-2.0.0-bin/examples/files/z.txt
apache-hive-2.0.0-bin/examples/queries/case_sensitivity.q
apache-hive-2.0.0-bin/examples/queries/cast1.q
apache-hive-2.0.0-bin/examples/queries/groupby1.q
apache-hive-2.0.0-bin/examples/queries/groupby2.q
apache-hive-2.0.0-bin/examples/queries/groupby3.q
apache-hive-2.0.0-bin/examples/queries/groupby4.q
apache-hive-2.0.0-bin/examples/queries/groupby5.q
apache-hive-2.0.0-bin/examples/queries/groupby6.q
apache-hive-2.0.0-bin/examples/queries/input1.q
apache-hive-2.0.0-bin/examples/queries/input2.q
apache-hive-2.0.0-bin/examples/queries/input20.q
apache-hive-2.0.0-bin/examples/queries/input3.q
apache-hive-2.0.0-bin/examples/queries/input4.q
apache-hive-2.0.0-bin/examples/queries/input5.q
apache-hive-2.0.0-bin/examples/queries/input6.q
apache-hive-2.0.0-bin/examples/queries/input7.q
apache-hive-2.0.0-bin/examples/queries/input8.q
apache-hive-2.0.0-bin/examples/queries/input9.q
apache-hive-2.0.0-bin/examples/queries/input_part1.q
apache-hive-2.0.0-bin/examples/queries/input_testsequencefile.q
apache-hive-2.0.0-bin/examples/queries/input_testxpath.q
apache-hive-2.0.0-bin/examples/queries/input_testxpath2.q
apache-hive-2.0.0-bin/examples/queries/join1.q
apache-hive-2.0.0-bin/examples/queries/join2.q
apache-hive-2.0.0-bin/examples/queries/join3.q
apache-hive-2.0.0-bin/examples/queries/join4.q
apache-hive-2.0.0-bin/examples/queries/join5.q
apache-hive-2.0.0-bin/examples/queries/join6.q
apache-hive-2.0.0-bin/examples/queries/join7.q
apache-hive-2.0.0-bin/examples/queries/join8.q
apache-hive-2.0.0-bin/examples/queries/sample1.q
apache-hive-2.0.0-bin/examples/queries/sample2.q
apache-hive-2.0.0-bin/examples/queries/sample3.q
apache-hive-2.0.0-bin/examples/queries/sample4.q
apache-hive-2.0.0-bin/examples/queries/sample5.q
apache-hive-2.0.0-bin/examples/queries/sample6.q
apache-hive-2.0.0-bin/examples/queries/sample7.q
apache-hive-2.0.0-bin/examples/queries/subq.q
apache-hive-2.0.0-bin/examples/queries/udf1.q
apache-hive-2.0.0-bin/examples/queries/udf4.q
apache-hive-2.0.0-bin/examples/queries/udf6.q
apache-hive-2.0.0-bin/examples/queries/udf_case.q
apache-hive-2.0.0-bin/examples/queries/udf_when.q
apache-hive-2.0.0-bin/examples/queries/union.q
apache-hive-2.0.0-bin/bin/ext/util/
apache-hive-2.0.0-bin/bin/beeline
apache-hive-2.0.0-bin/bin/beeline.cmd
apache-hive-2.0.0-bin/bin/ext/beeline.sh
apache-hive-2.0.0-bin/bin/ext/cli.cmd
apache-hive-2.0.0-bin/bin/ext/cli.sh
apache-hive-2.0.0-bin/bin/ext/debug.cmd
apache-hive-2.0.0-bin/bin/ext/debug.sh
apache-hive-2.0.0-bin/bin/ext/hbaseimport.cmd
apache-hive-2.0.0-bin/bin/ext/hbaseimport.sh
apache-hive-2.0.0-bin/bin/ext/hbaseschematool.sh
apache-hive-2.0.0-bin/bin/ext/help.cmd
apache-hive-2.0.0-bin/bin/ext/help.sh
apache-hive-2.0.0-bin/bin/ext/hiveburninclient.sh
apache-hive-2.0.0-bin/bin/ext/hiveserver.cmd
apache-hive-2.0.0-bin/bin/ext/hiveserver.sh
apache-hive-2.0.0-bin/bin/ext/hiveserver2.cmd
apache-hive-2.0.0-bin/bin/ext/hiveserver2.sh
apache-hive-2.0.0-bin/bin/ext/hplsql.sh
apache-hive-2.0.0-bin/bin/ext/hwi.cmd
apache-hive-2.0.0-bin/bin/ext/hwi.sh
apache-hive-2.0.0-bin/bin/ext/jar.cmd
apache-hive-2.0.0-bin/bin/ext/jar.sh
apache-hive-2.0.0-bin/bin/ext/lineage.cmd
apache-hive-2.0.0-bin/bin/ext/lineage.sh
apache-hive-2.0.0-bin/bin/ext/llap.sh
apache-hive-2.0.0-bin/bin/ext/metastore.cmd
apache-hive-2.0.0-bin/bin/ext/metastore.sh
apache-hive-2.0.0-bin/bin/ext/metatool.sh
apache-hive-2.0.0-bin/bin/ext/orcfiledump.cmd
apache-hive-2.0.0-bin/bin/ext/orcfiledump.sh
apache-hive-2.0.0-bin/bin/ext/rcfilecat.cmd
apache-hive-2.0.0-bin/bin/ext/rcfilecat.sh
apache-hive-2.0.0-bin/bin/ext/schemaTool.cmd
apache-hive-2.0.0-bin/bin/ext/schemaTool.sh
apache-hive-2.0.0-bin/bin/ext/util/execHiveCmd.cmd
apache-hive-2.0.0-bin/bin/ext/util/execHiveCmd.sh
apache-hive-2.0.0-bin/bin/ext/version.sh
apache-hive-2.0.0-bin/bin/hive
apache-hive-2.0.0-bin/bin/hive-config.cmd
apache-hive-2.0.0-bin/bin/hive-config.sh
apache-hive-2.0.0-bin/bin/hive.cmd
apache-hive-2.0.0-bin/bin/hiveserver2
apache-hive-2.0.0-bin/bin/hplsql
apache-hive-2.0.0-bin/bin/hplsql.cmd
apache-hive-2.0.0-bin/bin/metatool
apache-hive-2.0.0-bin/bin/schematool
apache-hive-2.0.0-bin/scripts/llap/bin/llap-daemon-env.sh
apache-hive-2.0.0-bin/scripts/llap/bin/llapDaemon.sh
apache-hive-2.0.0-bin/scripts/llap/bin/runLlapDaemon.sh
apache-hive-2.0.0-bin/scripts/llap/slider/llap.py
apache-hive-2.0.0-bin/scripts/llap/slider/package.py
apache-hive-2.0.0-bin/scripts/llap/slider/params.py
apache-hive-2.0.0-bin/scripts/llap/slider/templates.py
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mssql/
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/
apache-hive-2.0.0-bin/scripts/metastore/upgrade/oracle/
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/001-HIVE-972.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/002-HIVE-1068.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/003-HIVE-675.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/004-HIVE-1364.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/005-HIVE-417.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/006-HIVE-1823.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/007-HIVE-78.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/008-HIVE-2246.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/008-REVERT-HIVE-2246.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/009-HIVE-2215.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/010-HIVE-3072.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/011-HIVE-3649.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/012-HIVE-1362.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/013-HIVE-3255.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/014-HIVE-3764.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/016-HIVE-6386.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/017-HIVE-6458.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/018-HIVE-6757.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/019-HIVE-7784.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/020-HIVE-9296.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/021-HIVE-11970.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/023-HIVE-12807.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/024-HIVE-12814.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/025-HIVE-12816.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/026-HIVE-12818.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/027-HIVE-12819.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/028-HIVE-12821.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/029-HIVE-12822.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/030-HIVE-12823.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/031-HIVE-12831.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/032-HIVE-12832.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/hive-schema-0.10.0.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/hive-schema-0.11.0.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/hive-schema-0.12.0.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/hive-schema-0.13.0.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/hive-schema-0.14.0.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/hive-schema-0.3.0.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/hive-schema-0.4.0.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/hive-schema-0.4.1.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/hive-schema-0.5.0.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/hive-schema-0.6.0.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/hive-schema-0.7.0.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/hive-schema-0.8.0.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/hive-schema-0.9.0.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/hive-schema-1.1.0.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/hive-schema-1.2.0.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/hive-schema-1.3.0.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/hive-schema-2.0.0.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/hive-txn-schema-0.13.0.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/hive-txn-schema-0.14.0.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/hive-txn-schema-1.3.0.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/hive-txn-schema-2.0.0.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/README
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/upgrade-0.10.0-to-0.11.0.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/upgrade-0.11.0-to-0.12.0.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/upgrade-0.12.0-to-0.13.0.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/upgrade-0.13.0-to-0.14.0.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/upgrade-0.14.0-to-1.1.0.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/upgrade-0.5.0-to-0.6.0.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/upgrade-0.6.0-to-0.7.0.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/upgrade-0.7.0-to-0.8.0.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/upgrade-0.8.0-to-0.9.0.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/upgrade-0.9.0-to-0.10.0.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/upgrade-1.1.0-to-1.2.0.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/upgrade-1.2.0-to-1.3.0.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/upgrade-1.2.0-to-2.0.0.derby.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/derby/upgrade.order.derby
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mssql/001-HIVE-6862.mssql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mssql/002-HIVE-7784.mssql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mssql/003-HIVE-8239.mssql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mssql/004-HIVE-8550.mssql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mssql/005-HIVE-9296.mssql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mssql/006-HIVE-9456.mssql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mssql/007-HIVE-11970.mssql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mssql/008-HIVE-12807.mssql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mssql/009-HIVE-12814.mssql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mssql/010-HIVE-12816.mssql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mssql/011-HIVE-12818.mssql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mssql/012-HIVE-12819.mssql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mssql/013-HIVE-12821.mssql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mssql/014-HIVE-12822.mssql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mssql/015-HIVE-12823.mssql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mssql/016-HIVE-12831.mssql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mssql/017-HIVE-12832.mssql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mssql/hive-schema-0.11.0.mssql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mssql/hive-schema-0.12.0.mssql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mssql/hive-schema-0.13.0.mssql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mssql/hive-schema-0.14.0.mssql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mssql/hive-schema-1.1.0.mssql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mssql/hive-schema-1.2.0.mssql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mssql/hive-schema-1.3.0.mssql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mssql/hive-schema-2.0.0.mssql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mssql/hive-txn-schema-0.13.0.mssql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mssql/hive-txn-schema-0.14.0.mssql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mssql/pre-0-upgrade-0.12.0-to-0.13.0.mssql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mssql/pre-0-upgrade-0.13.0-to-0.14.0.mssql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mssql/pre-1-upgrade-0.12.0-to-0.13.0.mssql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mssql/pre-1-upgrade-0.13.0-to-0.14.0.mssql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mssql/README
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mssql/upgrade-0.12.0-to-0.13.0.mssql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mssql/upgrade-0.13.0-to-0.14.0.mssql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mssql/upgrade-0.14.0-to-1.1.0.mssql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mssql/upgrade-1.1.0-to-1.2.0.mssql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mssql/upgrade-1.2.0-to-1.3.0.mssql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mssql/upgrade-1.2.0-to-2.0.0.mssql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mssql/upgrade.order.mssql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/001-HIVE-972.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/002-HIVE-1068.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/003-HIVE-675.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/004-HIVE-1364.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/005-HIVE-417.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/006-HIVE-1823.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/007-HIVE-78.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/008-HIVE-2246.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/009-HIVE-2215.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/010-HIVE-3072.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/011-HIVE-3649.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/012-HIVE-1362.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/013-HIVE-3255.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/014-HIVE-3764.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/016-HIVE-6386.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/017-HIVE-6458.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/018-HIVE-6757.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/019-HIVE-7784.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/020-HIVE-9296.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/021-HIVE-7018.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/022-HIVE-11970.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/023-HIVE-12807.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/024-HIVE-12814.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/025-HIVE-12816.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/026-HIVE-12818.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/027-HIVE-12819.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/028-HIVE-12821.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/029-HIVE-12822.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/030-HIVE-12823.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/031-HIVE-12831.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/032-HIVE-12832.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/hive-schema-0.10.0.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/hive-schema-0.11.0.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/hive-schema-0.12.0.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/hive-schema-0.13.0.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/hive-schema-0.14.0.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/hive-schema-0.3.0.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/hive-schema-0.4.0.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/hive-schema-0.4.1.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/hive-schema-0.5.0.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/hive-schema-0.6.0.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/hive-schema-0.7.0.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/hive-schema-0.8.0.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/hive-schema-0.9.0.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/hive-schema-1.1.0.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/hive-schema-1.2.0.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/hive-schema-1.3.0.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/hive-schema-2.0.0.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/hive-txn-schema-0.13.0.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/hive-txn-schema-0.14.0.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/hive-txn-schema-1.3.0.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/hive-txn-schema-2.0.0.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/README
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/upgrade-0.10.0-to-0.11.0.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/upgrade-0.11.0-to-0.12.0.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/upgrade-0.12.0-to-0.13.0.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/upgrade-0.13.0-to-0.14.0.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/upgrade-0.14.0-to-1.1.0.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/upgrade-0.5.0-to-0.6.0.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/upgrade-0.6.0-to-0.7.0.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/upgrade-0.7.0-to-0.8.0.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/upgrade-0.8.0-to-0.9.0.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/upgrade-0.9.0-to-0.10.0.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/upgrade-1.1.0-to-1.2.0.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/upgrade-1.2.0-to-1.3.0.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/upgrade-1.2.0-to-2.0.0.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/mysql/upgrade.order.mysql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/oracle/010-HIVE-3072.oracle.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/oracle/011-HIVE-3649.oracle.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/oracle/012-HIVE-1362.oracle.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/oracle/013-HIVE-3255.oracle.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/oracle/014-HIVE-3764.oracle.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/oracle/016-HIVE-6386.oracle.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/oracle/017-HIVE-6458.oracle.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/oracle/018-HIVE-6757.oracle.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/oracle/019-HIVE-7118.oracle.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/oracle/020-HIVE-7784.oracle.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/oracle/021-HIVE-9296.oracle.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/oracle/022-HIVE-11970.oracle.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/oracle/023-HIVE-12807.oracle.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/oracle/024-HIVE-12814.oracle.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/oracle/025-HIVE-12816.oracle.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/oracle/026-HIVE-12818.oracle.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/oracle/027-HIVE-12819.oracle.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/oracle/028-HIVE-12821.oracle.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/oracle/029-HIVE-12822.oracle.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/oracle/030-HIVE-12823.oracle.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/oracle/031-HIVE-12381.oracle.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/oracle/032-HIVE-12832.oracle.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/oracle/hive-schema-0.10.0.oracle.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/oracle/hive-schema-0.11.0.oracle.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/oracle/hive-schema-0.12.0.oracle.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/oracle/hive-schema-0.13.0.oracle.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/oracle/hive-schema-0.14.0.oracle.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/oracle/hive-schema-0.9.0.oracle.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/oracle/hive-schema-1.1.0.oracle.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/oracle/hive-schema-1.2.0.oracle.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/oracle/hive-schema-1.3.0.oracle.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/oracle/hive-schema-2.0.0.oracle.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/oracle/hive-txn-schema-0.13.0.oracle.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/oracle/hive-txn-schema-0.14.0.oracle.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/oracle/hive-txn-schema-1.3.0.oracle.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/oracle/hive-txn-schema-2.0.0.oracle.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/oracle/pre-0-upgrade-0.13.0-to-0.14.0.oracle.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/oracle/upgrade-0.10.0-to-0.11.0.mysql.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/oracle/upgrade-0.10.0-to-0.11.0.oracle.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/oracle/upgrade-0.11.0-to-0.12.0.oracle.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/oracle/upgrade-0.12.0-to-0.13.0.oracle.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/oracle/upgrade-0.13.0-to-0.14.0.oracle.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/oracle/upgrade-0.14.0-to-1.1.0.oracle.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/oracle/upgrade-0.9.0-to-0.10.0.oracle.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/oracle/upgrade-1.1.0-to-1.2.0.oracle.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/oracle/upgrade-1.2.0-to-1.3.0.oracle.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/oracle/upgrade-1.2.0-to-2.0.0.oracle.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/oracle/upgrade.order.oracle
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/001-HIVE-972.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/002-HIVE-1068.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/003-HIVE-675.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/004-HIVE-1364.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/005-HIVE-417.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/006-HIVE-1823.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/007-HIVE-78.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/008-HIVE-2246.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/008-REVERT-HIVE-2246.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/009-HIVE-2215.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/010-HIVE-3072.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/011-HIVE-3649.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/012-HIVE-1362.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/013-HIVE-3255.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/014-HIVE-3764.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/016-HIVE-6386.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/017-HIVE-6458.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/018-HIVE-6757.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/019-HIVE-7784.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/020-HIVE-9296.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/021-HIVE-11970.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/022-HIVE-12807.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/023-HIVE-12814.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/024-HIVE-12816.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/025-HIVE-12818.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/026-HIVE-12819.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/027-HIVE-12821.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/028-HIVE-12822.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/029-HIVE-12823.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/030-HIVE-12831.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/031-HIVE-12832.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/hive-schema-0.10.0.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/hive-schema-0.11.0.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/hive-schema-0.12.0.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/hive-schema-0.13.0.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/hive-schema-0.14.0.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/hive-schema-0.3.0.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/hive-schema-0.4.0.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/hive-schema-0.4.1.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/hive-schema-0.5.0.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/hive-schema-0.6.0.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/hive-schema-0.7.0.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/hive-schema-0.8.0.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/hive-schema-0.9.0.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/hive-schema-1.1.0.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/hive-schema-1.2.0.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/hive-schema-1.3.0.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/hive-schema-2.0.0.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/hive-txn-schema-0.13.0.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/hive-txn-schema-0.14.0.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/hive-txn-schema-1.3.0.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/hive-txn-schema-2.0.0.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/pre-0-upgrade-0.12.0-to-0.13.0.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/pre-0-upgrade-0.13.0-to-0.14.0.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/README
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/upgrade-0.10.0-to-0.11.0.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/upgrade-0.11.0-to-0.12.0.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/upgrade-0.12.0-to-0.13.0.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/upgrade-0.13.0-to-0.14.0.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/upgrade-0.14.0-to-1.1.0.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/upgrade-0.5.0-to-0.6.0.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/upgrade-0.6.0-to-0.7.0.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/upgrade-0.7.0-to-0.8.0.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/upgrade-0.8.0-to-0.9.0.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/upgrade-0.9.0-to-0.10.0.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/upgrade-1.1.0-to-1.2.0.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/upgrade-1.2.0-to-1.3.0.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/upgrade-1.2.0-to-2.0.0.postgres.sql
apache-hive-2.0.0-bin/scripts/metastore/upgrade/postgres/upgrade.order.postgres
apache-hive-2.0.0-bin/conf/hive-default.xml.template
apache-hive-2.0.0-bin/conf/hive-env.sh.template
apache-hive-2.0.0-bin/conf/ivysettings.xml
apache-hive-2.0.0-bin/lib/php/ext/
apache-hive-2.0.0-bin/lib/php/ext/thrift_protocol/
apache-hive-2.0.0-bin/lib/php/ext/thrift_protocol/tags/
apache-hive-2.0.0-bin/lib/php/ext/thrift_protocol/tags/1.0.0/
apache-hive-2.0.0-bin/lib/php/packages/
apache-hive-2.0.0-bin/lib/php/packages/fb303/
apache-hive-2.0.0-bin/lib/php/protocol/
apache-hive-2.0.0-bin/lib/php/transport/
apache-hive-2.0.0-bin/lib/php/autoload.php
apache-hive-2.0.0-bin/lib/php/ext/thrift_protocol/config.m4
apache-hive-2.0.0-bin/lib/php/ext/thrift_protocol/php_thrift_protocol.cpp
apache-hive-2.0.0-bin/lib/php/ext/thrift_protocol/php_thrift_protocol.h
apache-hive-2.0.0-bin/lib/php/ext/thrift_protocol/tags/1.0.0/config.m4
apache-hive-2.0.0-bin/lib/php/ext/thrift_protocol/tags/1.0.0/php_thrift_protocol.cpp
apache-hive-2.0.0-bin/lib/php/ext/thrift_protocol/tags/1.0.0/php_thrift_protocol.h
apache-hive-2.0.0-bin/lib/php/packages/fb303/FacebookService.php
apache-hive-2.0.0-bin/lib/php/packages/fb303/fb303_types.php
apache-hive-2.0.0-bin/lib/php/protocol/TBinaryProtocol.php
apache-hive-2.0.0-bin/lib/php/protocol/TProtocol.php
apache-hive-2.0.0-bin/lib/php/Thrift.php
apache-hive-2.0.0-bin/lib/php/transport/TBufferedTransport.php
apache-hive-2.0.0-bin/lib/php/transport/TFramedTransport.php
apache-hive-2.0.0-bin/lib/php/transport/THttpClient.php
apache-hive-2.0.0-bin/lib/php/transport/TMemoryBuffer.php
apache-hive-2.0.0-bin/lib/php/transport/TNullTransport.php
apache-hive-2.0.0-bin/lib/php/transport/TPhpStream.php
apache-hive-2.0.0-bin/lib/php/transport/TSocket.php
apache-hive-2.0.0-bin/lib/php/transport/TSocketPool.php
apache-hive-2.0.0-bin/lib/php/transport/TTransport.php
apache-hive-2.0.0-bin/lib/php/packages/serde/org/
apache-hive-2.0.0-bin/lib/php/packages/serde/org/apache/
apache-hive-2.0.0-bin/lib/php/packages/serde/org/apache/hadoop/
apache-hive-2.0.0-bin/lib/php/packages/serde/org/apache/hadoop/hive/
apache-hive-2.0.0-bin/lib/php/packages/serde/org/apache/hadoop/hive/serde/
apache-hive-2.0.0-bin/lib/php/packages/serde/org/apache/hadoop/hive/serde/Types.php
apache-hive-2.0.0-bin/lib/php/packages/serde/Types.php
apache-hive-2.0.0-bin/lib/php/packages/hive_metastore/metastore/
apache-hive-2.0.0-bin/lib/php/packages/hive_metastore/metastore/ThriftHiveMetastore.php
apache-hive-2.0.0-bin/lib/php/packages/hive_metastore/metastore/Types.php
apache-hive-2.0.0-bin/lib/php/packages/hive_service/TCLIService.php
apache-hive-2.0.0-bin/lib/php/packages/hive_service/ThriftHive.php
apache-hive-2.0.0-bin/lib/php/packages/hive_service/Types.php
apache-hive-2.0.0-bin/lib/php/packages/queryplan/Types.php
apache-hive-2.0.0-bin/lib/py/fb303/
apache-hive-2.0.0-bin/lib/py/fb303_scripts/
apache-hive-2.0.0-bin/lib/py/thrift/
apache-hive-2.0.0-bin/lib/py/thrift/protocol/
apache-hive-2.0.0-bin/lib/py/thrift/reflection/
apache-hive-2.0.0-bin/lib/py/thrift/reflection/limited/
apache-hive-2.0.0-bin/lib/py/thrift/server/
apache-hive-2.0.0-bin/lib/py/thrift/transport/
apache-hive-2.0.0-bin/lib/py/fb303/__init__.py
apache-hive-2.0.0-bin/lib/py/fb303/constants.py
apache-hive-2.0.0-bin/lib/py/fb303/FacebookBase.py
apache-hive-2.0.0-bin/lib/py/fb303/FacebookService-remote
apache-hive-2.0.0-bin/lib/py/fb303/FacebookService.py
apache-hive-2.0.0-bin/lib/py/fb303/ttypes.py
apache-hive-2.0.0-bin/lib/py/fb303_scripts/__init__.py
apache-hive-2.0.0-bin/lib/py/fb303_scripts/fb303_simple_mgmt.py
apache-hive-2.0.0-bin/lib/py/thrift/__init__.py
apache-hive-2.0.0-bin/lib/py/thrift/protocol/__init__.py
apache-hive-2.0.0-bin/lib/py/thrift/protocol/fastbinary.c
apache-hive-2.0.0-bin/lib/py/thrift/protocol/TBinaryProtocol.py
apache-hive-2.0.0-bin/lib/py/thrift/protocol/TProtocol.py
apache-hive-2.0.0-bin/lib/py/thrift/reflection/__init__.py
apache-hive-2.0.0-bin/lib/py/thrift/reflection/limited/__init__.py
apache-hive-2.0.0-bin/lib/py/thrift/reflection/limited/constants.py
apache-hive-2.0.0-bin/lib/py/thrift/reflection/limited/ttypes.py
apache-hive-2.0.0-bin/lib/py/thrift/server/__init__.py
apache-hive-2.0.0-bin/lib/py/thrift/server/THttpServer.py
apache-hive-2.0.0-bin/lib/py/thrift/server/TNonblockingServer.py
apache-hive-2.0.0-bin/lib/py/thrift/server/TServer.py
apache-hive-2.0.0-bin/lib/py/thrift/Thrift.py
apache-hive-2.0.0-bin/lib/py/thrift/transport/__init__.py
apache-hive-2.0.0-bin/lib/py/thrift/transport/THttpClient.py
apache-hive-2.0.0-bin/lib/py/thrift/transport/TSocket.py
apache-hive-2.0.0-bin/lib/py/thrift/transport/TTransport.py
apache-hive-2.0.0-bin/lib/py/thrift/transport/TTwisted.py
apache-hive-2.0.0-bin/lib/py/thrift/TSCons.py
apache-hive-2.0.0-bin/lib/py/hive_serde/__init__.py
apache-hive-2.0.0-bin/lib/py/hive_serde/constants.py
apache-hive-2.0.0-bin/lib/py/hive_serde/ttypes.py
apache-hive-2.0.0-bin/lib/py/hive_metastore/__init__.py
apache-hive-2.0.0-bin/lib/py/hive_metastore/constants.py
apache-hive-2.0.0-bin/lib/py/hive_metastore/ThriftHiveMetastore-remote
apache-hive-2.0.0-bin/lib/py/hive_metastore/ThriftHiveMetastore.py
apache-hive-2.0.0-bin/lib/py/hive_metastore/ttypes.py
apache-hive-2.0.0-bin/lib/py/TCLIService/__init__.py
apache-hive-2.0.0-bin/lib/py/TCLIService/constants.py
apache-hive-2.0.0-bin/lib/py/TCLIService/TCLIService-remote
apache-hive-2.0.0-bin/lib/py/TCLIService/TCLIService.py
apache-hive-2.0.0-bin/lib/py/TCLIService/ttypes.py
apache-hive-2.0.0-bin/lib/py/hive_service/__init__.py
apache-hive-2.0.0-bin/lib/py/hive_service/constants.py
apache-hive-2.0.0-bin/lib/py/hive_service/ThriftHive-remote
apache-hive-2.0.0-bin/lib/py/hive_service/ThriftHive.py
apache-hive-2.0.0-bin/lib/py/hive_service/ttypes.py
apache-hive-2.0.0-bin/lib/py/queryplan/__init__.py
apache-hive-2.0.0-bin/lib/py/queryplan/constants.py
apache-hive-2.0.0-bin/lib/py/queryplan/ttypes.py
apache-hive-2.0.0-bin/hcatalog/bin/common.sh
apache-hive-2.0.0-bin/hcatalog/bin/hcat
apache-hive-2.0.0-bin/hcatalog/bin/hcat.py
apache-hive-2.0.0-bin/hcatalog/bin/hcatcfg.py
apache-hive-2.0.0-bin/hcatalog/bin/templeton.cmd
apache-hive-2.0.0-bin/hcatalog/etc/hcatalog/jndi.properties
apache-hive-2.0.0-bin/hcatalog/etc/hcatalog/proto-hive-site.xml
apache-hive-2.0.0-bin/hcatalog/etc/webhcat/webhcat-default.xml
apache-hive-2.0.0-bin/hcatalog/etc/webhcat/webhcat-log4j2.properties
apache-hive-2.0.0-bin/hcatalog/libexec/hcat-config.sh
apache-hive-2.0.0-bin/hcatalog/sbin/hcat_server.py
apache-hive-2.0.0-bin/hcatalog/sbin/hcat_server.sh
apache-hive-2.0.0-bin/hcatalog/sbin/hcatcfg.py
apache-hive-2.0.0-bin/hcatalog/sbin/update-hcatalog-env.sh
apache-hive-2.0.0-bin/hcatalog/sbin/webhcat_config.sh
apache-hive-2.0.0-bin/hcatalog/sbin/webhcat_server.sh
apache-hive-2.0.0-bin/lib/hive-common-2.0.0.jar
apache-hive-2.0.0-bin/lib/hive-shims-2.0.0.jar
apache-hive-2.0.0-bin/lib/hive-shims-common-2.0.0.jar
apache-hive-2.0.0-bin/lib/log4j-slf4j-impl-2.4.1.jar
apache-hive-2.0.0-bin/lib/log4j-api-2.4.1.jar
apache-hive-2.0.0-bin/lib/guava-14.0.1.jar
apache-hive-2.0.0-bin/lib/commons-lang-2.6.jar
apache-hive-2.0.0-bin/lib/libthrift-0.9.3.jar
apache-hive-2.0.0-bin/lib/httpclient-4.4.jar
apache-hive-2.0.0-bin/lib/httpcore-4.4.jar
apache-hive-2.0.0-bin/lib/commons-logging-1.2.jar
apache-hive-2.0.0-bin/lib/commons-codec-1.4.jar
apache-hive-2.0.0-bin/lib/curator-framework-2.6.0.jar
apache-hive-2.0.0-bin/lib/curator-client-2.6.0.jar
apache-hive-2.0.0-bin/lib/zookeeper-3.4.6.jar
apache-hive-2.0.0-bin/lib/jline-2.12.jar
apache-hive-2.0.0-bin/lib/netty-3.7.0.Final.jar
apache-hive-2.0.0-bin/lib/hive-shims-0.23-2.0.0.jar
apache-hive-2.0.0-bin/lib/guice-3.0.jar
apache-hive-2.0.0-bin/lib/javax.inject-1.jar
apache-hive-2.0.0-bin/lib/aopalliance-1.0.jar
apache-hive-2.0.0-bin/lib/protobuf-java-2.5.0.jar
apache-hive-2.0.0-bin/lib/commons-io-2.4.jar
apache-hive-2.0.0-bin/lib/activation-1.1.jar
apache-hive-2.0.0-bin/lib/jackson-jaxrs-1.9.2.jar
apache-hive-2.0.0-bin/lib/jersey-server-1.14.jar
apache-hive-2.0.0-bin/lib/asm-3.1.jar
apache-hive-2.0.0-bin/lib/commons-compress-1.9.jar
apache-hive-2.0.0-bin/lib/jetty-util-6.1.26.jar
apache-hive-2.0.0-bin/lib/commons-cli-1.2.jar
apache-hive-2.0.0-bin/lib/commons-collections-3.2.2.jar
apache-hive-2.0.0-bin/lib/commons-httpclient-3.0.1.jar
apache-hive-2.0.0-bin/lib/junit-4.11.jar
apache-hive-2.0.0-bin/lib/hamcrest-core-1.1.jar
apache-hive-2.0.0-bin/lib/jetty-6.1.26.jar
apache-hive-2.0.0-bin/lib/hive-shims-scheduler-2.0.0.jar
apache-hive-2.0.0-bin/lib/hive-storage-api-2.0.0.jar
apache-hive-2.0.0-bin/lib/hive-orc-2.0.0.jar
apache-hive-2.0.0-bin/lib/jasper-compiler-5.5.23.jar
apache-hive-2.0.0-bin/lib/jasper-runtime-5.5.23.jar
apache-hive-2.0.0-bin/lib/commons-el-1.0.jar
apache-hive-2.0.0-bin/lib/gson-2.2.4.jar
apache-hive-2.0.0-bin/lib/curator-recipes-2.6.0.jar
apache-hive-2.0.0-bin/lib/jsr305-3.0.0.jar
apache-hive-2.0.0-bin/lib/snappy-0.2.jar
apache-hive-2.0.0-bin/lib/jetty-all-7.6.0.v20120127.jar
apache-hive-2.0.0-bin/lib/geronimo-jta_1.1_spec-1.1.1.jar
apache-hive-2.0.0-bin/lib/mail-1.4.1.jar
apache-hive-2.0.0-bin/lib/geronimo-jaspic_1.0_spec-1.0.jar
apache-hive-2.0.0-bin/lib/geronimo-annotation_1.0_spec-1.1.1.jar
apache-hive-2.0.0-bin/lib/asm-commons-3.1.jar
apache-hive-2.0.0-bin/lib/asm-tree-3.1.jar
apache-hive-2.0.0-bin/lib/javax.servlet-3.0.0.v201112011016.jar
apache-hive-2.0.0-bin/lib/joda-time-2.5.jar
apache-hive-2.0.0-bin/lib/log4j-1.2-api-2.4.1.jar
apache-hive-2.0.0-bin/lib/log4j-core-2.4.1.jar
apache-hive-2.0.0-bin/lib/log4j-web-2.4.1.jar
apache-hive-2.0.0-bin/lib/ant-1.9.1.jar
apache-hive-2.0.0-bin/lib/ant-launcher-1.9.1.jar
apache-hive-2.0.0-bin/lib/json-20090211.jar
apache-hive-2.0.0-bin/lib/metrics-core-3.1.0.jar
apache-hive-2.0.0-bin/lib/metrics-jvm-3.1.0.jar
apache-hive-2.0.0-bin/lib/metrics-json-3.1.0.jar
apache-hive-2.0.0-bin/lib/jackson-databind-2.4.2.jar
apache-hive-2.0.0-bin/lib/jackson-annotations-2.4.0.jar
apache-hive-2.0.0-bin/lib/jackson-core-2.4.2.jar
apache-hive-2.0.0-bin/lib/hive-serde-2.0.0.jar
apache-hive-2.0.0-bin/lib/avro-1.7.7.jar
apache-hive-2.0.0-bin/lib/paranamer-2.3.jar
apache-hive-2.0.0-bin/lib/snappy-java-1.0.5.jar
apache-hive-2.0.0-bin/lib/opencsv-2.3.jar
apache-hive-2.0.0-bin/lib/parquet-hadoop-bundle-1.8.1.jar
apache-hive-2.0.0-bin/lib/hive-metastore-2.0.0.jar
apache-hive-2.0.0-bin/lib/hbase-client-1.1.1.jar
apache-hive-2.0.0-bin/lib/hbase-annotations-1.1.1.jar
apache-hive-2.0.0-bin/lib/findbugs-annotations-1.3.9-1.jar
apache-hive-2.0.0-bin/lib/hbase-common-1.1.1.jar
apache-hive-2.0.0-bin/lib/hbase-protocol-1.1.1.jar
apache-hive-2.0.0-bin/lib/htrace-core-3.1.0-incubating.jar
apache-hive-2.0.0-bin/lib/servlet-api-2.4.jar
apache-hive-2.0.0-bin/lib/netty-all-4.0.23.Final.jar
apache-hive-2.0.0-bin/lib/jcodings-1.0.8.jar
apache-hive-2.0.0-bin/lib/joni-2.1.2.jar
apache-hive-2.0.0-bin/lib/bonecp-0.8.0.RELEASE.jar
apache-hive-2.0.0-bin/lib/derby-10.10.2.0.jar
apache-hive-2.0.0-bin/lib/datanucleus-api-jdo-4.2.1.jar
apache-hive-2.0.0-bin/lib/datanucleus-core-4.1.6.jar
apache-hive-2.0.0-bin/lib/datanucleus-rdbms-4.1.7.jar
apache-hive-2.0.0-bin/lib/commons-pool-1.5.4.jar
apache-hive-2.0.0-bin/lib/commons-dbcp-1.4.jar
apache-hive-2.0.0-bin/lib/jdo-api-3.0.1.jar
apache-hive-2.0.0-bin/lib/jta-1.1.jar
apache-hive-2.0.0-bin/lib/javax.jdo-3.2.0-m3.jar
apache-hive-2.0.0-bin/lib/transaction-api-1.1.jar
apache-hive-2.0.0-bin/lib/antlr-runtime-3.4.jar
apache-hive-2.0.0-bin/lib/stringtemplate-3.2.1.jar
apache-hive-2.0.0-bin/lib/antlr-2.7.7.jar
apache-hive-2.0.0-bin/lib/libfb303-0.9.3.jar
apache-hive-2.0.0-bin/lib/tephra-api-0.6.0.jar
apache-hive-2.0.0-bin/lib/tephra-core-0.6.0.jar
apache-hive-2.0.0-bin/lib/guice-assistedinject-3.0.jar
apache-hive-2.0.0-bin/lib/fastutil-6.5.6.jar
apache-hive-2.0.0-bin/lib/twill-common-0.6.0-incubating.jar
apache-hive-2.0.0-bin/lib/twill-core-0.6.0-incubating.jar
apache-hive-2.0.0-bin/lib/twill-api-0.6.0-incubating.jar
apache-hive-2.0.0-bin/lib/twill-discovery-api-0.6.0-incubating.jar
apache-hive-2.0.0-bin/lib/twill-zookeeper-0.6.0-incubating.jar
apache-hive-2.0.0-bin/lib/twill-discovery-core-0.6.0-incubating.jar
apache-hive-2.0.0-bin/lib/tephra-hbase-compat-1.0-0.6.0.jar
apache-hive-2.0.0-bin/lib/hive-testutils-2.0.0.jar
apache-hive-2.0.0-bin/lib/tempus-fugit-1.1.jar
apache-hive-2.0.0-bin/lib/hive-exec-2.0.0.jar
apache-hive-2.0.0-bin/lib/hive-ant-2.0.0.jar
apache-hive-2.0.0-bin/lib/velocity-1.5.jar
apache-hive-2.0.0-bin/lib/hive-llap-tez-2.0.0.jar
apache-hive-2.0.0-bin/lib/hive-llap-client-2.0.0.jar
apache-hive-2.0.0-bin/lib/hive-llap-common-2.0.0.jar
apache-hive-2.0.0-bin/lib/commons-lang3-3.1.jar
apache-hive-2.0.0-bin/lib/ST4-4.0.4.jar
apache-hive-2.0.0-bin/lib/ivy-2.4.0.jar
apache-hive-2.0.0-bin/lib/apache-curator-2.6.0.pom
apache-hive-2.0.0-bin/lib/groovy-all-2.4.4.jar
apache-hive-2.0.0-bin/lib/calcite-core-1.5.0.jar
apache-hive-2.0.0-bin/lib/calcite-avatica-1.5.0.jar
apache-hive-2.0.0-bin/lib/calcite-linq4j-1.5.0.jar
apache-hive-2.0.0-bin/lib/eigenbase-properties-1.1.5.jar
apache-hive-2.0.0-bin/lib/janino-2.7.6.jar
apache-hive-2.0.0-bin/lib/commons-compiler-2.7.6.jar
apache-hive-2.0.0-bin/lib/pentaho-aggdesigner-algorithm-5.1.5-jhyde.jar
apache-hive-2.0.0-bin/lib/stax-api-1.0.1.jar
apache-hive-2.0.0-bin/lib/hive-service-2.0.0.jar
apache-hive-2.0.0-bin/lib/jpam-1.1.jar
apache-hive-2.0.0-bin/lib/jsp-api-2.0.jar
apache-hive-2.0.0-bin/lib/ant-1.6.5.jar
apache-hive-2.0.0-bin/lib/hive-jdbc-2.0.0.jar
apache-hive-2.0.0-bin/lib/hive-jdbc-2.0.0-standalone.jar
apache-hive-2.0.0-bin/lib/hive-beeline-2.0.0.jar
apache-hive-2.0.0-bin/lib/super-csv-2.2.0.jar
apache-hive-2.0.0-bin/lib/hive-cli-2.0.0.jar
apache-hive-2.0.0-bin/lib/hive-contrib-2.0.0.jar
apache-hive-2.0.0-bin/lib/hive-hbase-handler-2.0.0.jar
apache-hive-2.0.0-bin/lib/hbase-hadoop2-compat-1.1.1.jar
apache-hive-2.0.0-bin/lib/hbase-hadoop-compat-1.1.1.jar
apache-hive-2.0.0-bin/lib/commons-math-2.2.jar
apache-hive-2.0.0-bin/lib/metrics-core-2.2.0.jar
apache-hive-2.0.0-bin/lib/hbase-server-1.1.1.jar
apache-hive-2.0.0-bin/lib/hbase-procedure-1.1.1.jar
apache-hive-2.0.0-bin/lib/hbase-common-1.1.1-tests.jar
apache-hive-2.0.0-bin/lib/hbase-prefix-tree-1.1.1.jar
apache-hive-2.0.0-bin/lib/jetty-sslengine-6.1.26.jar
apache-hive-2.0.0-bin/lib/jsp-2.1-6.1.14.jar
apache-hive-2.0.0-bin/lib/jsp-api-2.1-6.1.14.jar
apache-hive-2.0.0-bin/lib/servlet-api-2.5-6.1.14.jar
apache-hive-2.0.0-bin/lib/jamon-runtime-2.3.1.jar
apache-hive-2.0.0-bin/lib/disruptor-3.3.0.jar
apache-hive-2.0.0-bin/lib/hbase-hadoop2-compat-1.1.1-tests.jar
apache-hive-2.0.0-bin/lib/hive-hwi-2.0.0.jar
apache-hive-2.0.0-bin/lib/jetty-all-server-7.6.0.v20120127.jar
apache-hive-2.0.0-bin/lib/hive-accumulo-handler-2.0.0.jar
apache-hive-2.0.0-bin/lib/accumulo-core-1.6.0.jar
apache-hive-2.0.0-bin/lib/jcommander-1.32.jar
apache-hive-2.0.0-bin/lib/accumulo-fate-1.6.0.jar
apache-hive-2.0.0-bin/lib/accumulo-start-1.6.0.jar
apache-hive-2.0.0-bin/lib/commons-vfs2-2.0.jar
apache-hive-2.0.0-bin/lib/maven-scm-api-1.4.jar
apache-hive-2.0.0-bin/lib/plexus-utils-1.5.6.jar
apache-hive-2.0.0-bin/lib/maven-scm-provider-svnexe-1.4.jar
apache-hive-2.0.0-bin/lib/maven-scm-provider-svn-commons-1.4.jar
apache-hive-2.0.0-bin/lib/regexp-1.3.jar
apache-hive-2.0.0-bin/lib/accumulo-trace-1.6.0.jar
apache-hive-2.0.0-bin/lib/hive-hplsql-2.0.0.jar
apache-hive-2.0.0-bin/lib/antlr4-runtime-4.5.jar
apache-hive-2.0.0-bin/lib/org.abego.treelayout.core-1.0.1.jar
apache-hive-2.0.0-bin/lib/hive-llap-server-2.0.0.jar
apache-hive-2.0.0-bin/hcatalog/share/hcatalog/hive-hcatalog-streaming-2.0.0.jar
apache-hive-2.0.0-bin/hcatalog/share/hcatalog/hive-hcatalog-core-2.0.0.jar
apache-hive-2.0.0-bin/hcatalog/share/hcatalog/hive-hcatalog-pig-adapter-2.0.0.jar
apache-hive-2.0.0-bin/hcatalog/share/hcatalog/hive-hcatalog-server-extensions-2.0.0.jar
apache-hive-2.0.0-bin/hcatalog/share/webhcat/svr/lib/jersey-json-1.14.jar
apache-hive-2.0.0-bin/hcatalog/share/webhcat/svr/lib/jettison-1.1.jar
apache-hive-2.0.0-bin/hcatalog/share/webhcat/svr/lib/jaxb-impl-2.2.3-1.jar
apache-hive-2.0.0-bin/hcatalog/share/webhcat/svr/lib/jackson-core-asl-1.9.2.jar
apache-hive-2.0.0-bin/hcatalog/share/webhcat/svr/lib/jackson-xc-1.9.2.jar
apache-hive-2.0.0-bin/hcatalog/share/webhcat/svr/lib/jersey-core-1.14.jar
apache-hive-2.0.0-bin/hcatalog/share/webhcat/svr/lib/hive-webhcat-2.0.0.jar
apache-hive-2.0.0-bin/hcatalog/share/webhcat/svr/lib/jersey-servlet-1.14.jar
apache-hive-2.0.0-bin/hcatalog/share/webhcat/svr/lib/wadl-resourcedoc-doclet-1.4.jar
apache-hive-2.0.0-bin/hcatalog/share/webhcat/svr/lib/commons-exec-1.1.jar
apache-hive-2.0.0-bin/hcatalog/share/webhcat/svr/lib/jul-to-slf4j-1.7.5.jar
apache-hive-2.0.0-bin/hcatalog/share/webhcat/java-client/hive-webhcat-java-client-2.0.0.jar

(2)将解压后的 apache-hive-2.0.0-bin 文件夹更名为 hive;
[root@master src]# mv apache-hive-2.0.0-bin/ hive
[root@master src]# ls
hadoop  hive  jdk

(3)修改 hive 目录归属用户和用户组为 hadoop
root@master src]# chown -R hadoop:hadoop /usr/local/src/

1.4.2.4. 步骤四:配置Hive 组件

(1)设置 Hive 环境变量并使其生效。
#进入/etc/profile.d/hive.sh中添加

export HIVE_HOME=/usr/local/src/hive
export PATH=${HIVE_HOME}/bin:$PATH
# 使环境变量配置生效
[root@master src]# source /etc/profile.d/hive.sh

(2)修改 Hive 组件配置文件。
切换到 hadoop 用户执行以下对 Hive 组件的配置操作。 将/usr/local/src/hive/conf 文件夹下 hive-default.xml.template 文件,更名为 hive-site.xml。
[hadoop@master ~]$  cp /usr/local/src/hive/conf/hive-default.xml.template /usr/local/src/hive/conf/hive-site.xml
[hadoop@master ~]$ cd /usr/local/src/hive/conf/
[hadoop@master conf]$ ll
total 432
-rw-r--r--. 1 hadoop hadoop   1596 Jan 21  2016 beeline-log4j2.properties.template
-rw-r--r--. 1 hadoop hadoop 207525 Feb  9  2016 hive-default.xml.template
-rw-r--r--. 1 hadoop hadoop   2378 Apr 22  2015 hive-env.sh.template
-rw-r--r--. 1 hadoop hadoop   2287 Jan 21  2016 hive-exec-log4j2.properties.template
-rw-r--r--. 1 hadoop hadoop   2758 Jan 21  2016 hive-log4j2.properties.template
-rw-r--r--. 1 hadoop hadoop 207525 Mar 22 23:10 hive-site.xml
-rw-r--r--. 1 hadoop hadoop   2049 Jan 21  2016 ivysettings.xml
-rw-r--r--. 1 hadoop hadoop   3885 Jan 21  2016 llap-daemon-log4j2.properties.template

(3)通过 vi 编辑器修改 hive-site.xml 文件实现 Hive 连接 MySQL 数据库,并设定 Hive 临时文件存储路径。
[hadoop@master conf]$ vi hive-site.xml 

1)设置 MySQL 数据库连接。
<name>javax.jdo.option.ConnectionURL</name>
    <value>jdbc:mysql://master:3306/hive?createDatabaselfNotExist=true&amp;useSSL=false</value>


2)配置 MySQL 数据库 root 的密码。
<name>javax.jdo.option.ConnectionPassword</name>
<value>Password123$</value>
3)验证元数据存储版本一致性。若默认 false,则不用修改。
<name>hive.metastore.schema.verification</name>
<value>false</value>
4)配置数据库驱动。
<name>javax.jdo.option.ConnectionDriverName</name>
<value>com.mysql.jdbc.Driver</value>
5)配置数据库用户名 javax.jdo.option.ConnectionUserName 为 root。
<name>javax.jdo.option.ConnectionUserName</name>
<value>root</value>
6 )将以下位置的 ${system:java.io.tmpdir}/${system:user.name} 替换为“/usr/local/src/hive/tmp”目录及其子目录。
需要替换以下 4 处配置内容:
 <name>hive.querylog.location</name>
 <value>/usr/local/src/hive/tmp</value>
 
 <name>hive.exec.local.scratchdir</name>
 <value>/usr/local/src/hive/tmp</value>
 
 <name>hive.downloaded.resources.dir</name>
 <value>/usr/local/src/hive/tmp/resources</value>
 
 <name>hive.server2.logging.operation.log.location</name>
 <value>/usr/local/src/hive/tmp/operation_logs</value>
7)在 Hive 安装目录中创建临时文件夹 tmp,在tmp中创建operation_logs,resources文件夹。
[hadoop@master conf]$ mkdir -p /usr/local/src/hive/tmp/{resources,operation_logs}
[hadoop@master conf]$ tree /usr/local/src/hive/tmp
/usr/local/src/hive/tmp
├── operation_logs
└── resources

至此,Hive 组件安装和配置完成。

1.4.2.5. 步骤五:初始化 hive 元数据

1)将 MySQL 数据库驱动(/opt/software/mysql-connector-java-5.1.46.jar)拷贝到 Hive 安装目录的 lib 下;
[root@master ~]# cp /root/mysql-connector/mysql-connector-java-5.1.46.jar /usr/local/src/hive/lib
#要确保该文件的拥有者和所属组是hadoop
[root@master ~]# chown -R hadoop.hadoop /usr/local/src

2)在所有节点上执行

[root@slave1 ~]# su - hadoop
Last login: Wed Mar 22 09:38:01 EDT 2023 on pts/0
[hadoop@slave1 ~]$ jps
1303 Jps

3)重新启动 hadooop
[hadoop@master ~]$ stop-all.sh
This script is Deprecated. Instead use stop-dfs.sh and stop-yarn.sh
Stopping namenodes on [master]
master: no namenode to stop
slave1: no datanode to stop
slave2: no datanode to stop
192.168.10.20: ssh: connect to host 192.168.10.20 port 22: Connection refused
192.168.10.30: ssh: connect to host 192.168.10.30 port 22: Connection refused
Stopping secondary namenodes [0.0.0.0]
0.0.0.0: no secondarynamenode to stop
stopping yarn daemons
no resourcemanager to stop
slave1: no nodemanager to stop
slave2: no nodemanager to stop
192.168.10.20: ssh: connect to host 192.168.10.20 port 22: Connection refused
192.168.10.30: ssh: connect to host 192.168.10.30 port 22: Connection refused
no proxyserver to stop
[hadoop@master ~]$ start-all.sh
This script is Deprecated. Instead use start-dfs.sh and start-yarn.sh
Starting namenodes on [master]
master: starting namenode, logging to /usr/local/src/hadoop/logs/hadoop-hadoop-namenode-master.out
slave1: starting datanode, logging to /usr/local/src/hadoop/logs/hadoop-hadoop-datanode-slave1.out
slave2: starting datanode, logging to /usr/local/src/hadoop/logs/hadoop-hadoop-datanode-slave2.out
192.168.10.30: ssh: connect to host 192.168.10.30 port 22: Connection refused
192.168.10.20: ssh: connect to host 192.168.10.20 port 22: Connection refused
Starting secondary namenodes [0.0.0.0]
0.0.0.0: starting secondarynamenode, logging to /usr/local/src/hadoop/logs/hadoop-hadoop-secondarynamenode-master.out
starting yarn daemons
starting resourcemanager, logging to /usr/local/src/hadoop/logs/yarn-hadoop-resourcemanager-master.out
slave2: starting nodemanager, logging to /usr/local/src/hadoop/logs/yarn-hadoop-nodemanager-slave2.out
slave1: starting nodemanager, logging to /usr/local/src/hadoop/logs/yarn-hadoop-nodemanager-slave1.out
192.168.10.20: ssh: connect to host 192.168.10.20 port 22: Connection refused
192.168.10.30: ssh: connect to host 192.168.10.30 port 22: Connection refused
[hadoop@master ~]$ jps
2416 ResourceManager
2259 SecondaryNameNode
2679 Jps
2057 NameNode

4)初始化数据库
[hadoop@master ~]$ schematool -initSchema -dbType mysql
which: no hbase in (/usr/local/src/hive/bin:/usr/local/src/jdk/bin:/usr/local/src/hadoop/bin:/usr/local/src/hadoop/sbin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/hadoop/.local/bin:/home/hadoop/bin)
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/local/src/hive/lib/hive-jdbc-2.0.0-standalone.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/local/src/hive/lib/log4j-slf4j-impl-2.4.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/local/src/hadoop/share/hadoop/common/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
Metastore connection URL:	 jdbc:mysql://master:3306/hive?createDatabaseIfNotExist=true&us
eSSL=false
Metastore Connection Driver :	 com.mysql.jdbc.Driver
Metastore connection User:	 root
Thu Mar 23 00:16:55 EDT 2023 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
Starting metastore schema initialization to 2.0.0
Initialization script hive-schema-2.0.0.mysql.sql
Thu Mar 23 00:16:56 EDT 2023 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
Initialization script completed
Thu Mar 23 00:17:07 EDT 2023 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
schemaTool completed

5)启动 hive

[hadoop@master ~]$ hive
which: no hbase in (/usr/local/src/hive/bin:/usr/local/src/jdk/bin:/usr/local/src/hadoop/bin:/usr/local/src/hadoop/sbin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/hadoop/.local/bin:/home/hadoop/bin)
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/local/src/hive/lib/hive-jdbc-2.0.0-standalone.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/local/src/hive/lib/log4j-slf4j-impl-2.4.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/local/src/hadoop/share/hadoop/common/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]

Logging initialized using configuration in jar:file:/usr/local/src/hive/lib/hive-common-2.0.0.jar!/hive-log4j2.properties
Thu Mar 23 00:17:49 EDT 2023 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
Thu Mar 23 00:17:50 EDT 2023 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
Thu Mar 23 00:17:50 EDT 2023 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
Thu Mar 23 00:17:50 EDT 2023 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
Thu Mar 23 00:17:53 EDT 2023 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
Thu Mar 23 00:17:53 EDT 2023 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
Thu Mar 23 00:17:53 EDT 2023 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
Thu Mar 23 00:17:53 EDT 2023 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
Hive-on-MR is deprecated in Hive 2 and may not be available in the future versions. Consider using a different execution engine (i.e. spark, tez) or using Hive 1.X releases.
hive> show databases;
OK
default
Time taken: 0.656 seconds, Fetched: 1 row(s)
hive> exit;