1. 程式人生 > >hive 報錯:Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(me

hive 報錯:Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(me

建立hive表時報如下錯

Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(message:Got exception: java.net.ConnectException Call From Spark11/192.168.xx.xxxto Spark1:9000 failed on connection exception: java.net.ConnectException: Connection refused; For more details see:  

http://wiki.apache.org/hadoop/ConnectionRefused)

原因無比簡單:忘記啟動hadoop叢集了。

解決方式:啟動叢集即可。

希望大家不要像我一樣犯這種錯誤。