#进入beeline
[root@master ~]# beeline
#进入beeline后,连接10000端口
beeline> !connect jdbc:hive2://192.168.152.50:10000
Connecting to jdbc:hive2://192.168.152.50:10000
Enter username for jdbc:hive2://192.168.152.50:10000: dwl #用户名dwl
Enter password for jdbc:hive2://192.168.152.50:10000: **** #密码为该用户在主节点的登陆密码如:3729********