hive没找到nn 你没启动hdfs启动了没有nn处于active状态,hdfs haadmin -transitionToActive nn1可将nn1主机切换为active状态如果配置了zookeeper,要先启动zookeeper集群,再启动hdfs集群,才会有active状态的nn