原文: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