亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

hive啟動出問題

hive啟動出問題

慕婉清6462132 2018-08-08 11:14:40
Nested Throwables StackTrace:java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:mysql://192.168.1.148:3306/hive?createDatabaseIfNotExist=true, username = hadoop. Terminating connection pool (set lazyInit to true if you expect to start your database after your app). Original Exception: ------com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failureThe last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)。。。Hadoop裝好了,沒問題,mysql也裝了,也沒出現問題,裝了hive后在命令行輸入hive就這樣了,困在這個地方整整一天了,求教!
查看完整描述

1 回答

?
慕慕森

TA貢獻1856條經驗 獲得超17個贊

可以參考stackoverflow上的這個回答一個一個檢查一下

查看完整回答
反對 回復 2018-08-21
  • 1 回答
  • 0 關注
  • 1010 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號