求助:hive执行带count(*)的sql会卡死,select*from是好的

来源:7-15 Hive QL之聚合函数

休息一会会

2019-11-12

hive> select count(*) from test_table;
Query ID = root_20191112160909_6ae71ea3-5414-4b60-a7d1-dd7d8e629afe
Total jobs = 1
Launching Job 1 out of 1
Number of reduce tasks determined at compile time: 1
In order to change the average load for a reducer (in bytes):
set hive.exec.reducers.bytes.per.reducer=
In order to limit the maximum number of reducers:
set hive.exec.reducers.max=
In order to set a constant number of reducers:
set mapreduce.job.reduces=

写回答

1回答

Michael_PK

2019-11-12

看看yarn UI上作业状态,以及的活的nm个数

0
0

Hadoop 系统入门+核心精讲

从Hadoop核心技术入手,掌握数据处理中ETL应用,轻松进军大数据

2397 学习 · 902 问题

查看课程