原文:Error: Could not open client transport with JDBC Uri: jdbc:hive2://localhost:10000: java.net.ConnectException: 拒绝连接 (Connection refused) (state=08S01,code=0)

一:启动hiveserver 服务 二:启动beeline 三:连接hiveserver 下面的 端口号适当改小写因为其超出最大端口号的范围建议改为 如果启动不成功实现我们先检查以下两个文件配置是否正确 hadoop文件夹下面的core site.xml中的内容 hive文件夹下hive site.xml中的内容 lt property gt lt name gt hive.server .thr ...

2019-09-05 22:07 0 5614 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM