第4节 hive调优:动态分区调整问题

 执行如下截图中的语句时卡住了:

原因:yarn未启动,hive底层是要提交mapreduce到yarn上才能计算结果的。

之前启动yarn时,未执行jps查看是否已经启动。其实未启动成功:

[root@node01 ~]# start-yarn.sh

starting yarn daemons resourcemanager running as process 3220. Stop it first.

具体原因未知。

解决方法:重新启动dfs、yarn、jobhistory。

 

猜你喜欢

转载自www.cnblogs.com/mediocreWorld/p/11072055.html