创建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集群了。
解决方式:启动集群即可。
希望大家不要像我一样犯这种错误。