这是一个阻塞的服务进程
```bash
/opt/hive/bin/hiveserver2
```
将Hive拷贝到hadoop2、hadoop3上
```bash
scp -r /opt/hive/ root@hadoop2:/opt/
scp -r /opt/hive/ root@hadoop3:/opt/
```
在hadoop2上远程连接
```bash
/opt/hive/bin/beeline
```
```bash
! connect jdbc:hive2://hadoop1:10000
root
root
```