beeline连接hive失败
1、检查
确认metastore 和hiveserver2两个服务启动了
nohup hive --service metastore >> log.out 2>&1 &
nohup hive --service hiveserver2 >> log.out 2>&1 &
检查10000端口是否被占用
ss -lnp|grep 10000
检查hadoop的core-site.xml的账号配置,已经配置了登陆用户的超级用户权限,关于这一块配置规则可自行百度,不做多余阐述。