Hadoop job information for Stage-1: number of redu

2019-07-23 07:21发布

I am using Hive over a hadoop cluster. Whenever I am trying the run a hive query the it always shows as

Hadoop job information for Stage-1: number of reducers: 1

I had used following Hive configuration :

hive.exec.reducers.bytes.per.reducer=1000000000
hive.exec.reducers.max=999

please tell me how can of increase the number reducer.

Thanks.

标签: hadoop hive
2条回答
老娘就宠你
2楼-- · 2019-07-23 07:46

Have you tried to set mapred.reduce.tasks parameter?

查看更多
三岁会撩人
3楼-- · 2019-07-23 07:48

Make sure you have gone through the points given below:

Your mapred.reduce.tasks defaults to -1. By setting this property to -1, Hive will automatically figure out what should be the number of reducers.

A hive query with no grouping will be using only 1 reducer.

And also note that when mapred.job.tracker is "local", hadoop sets mapred.reduce.tasks value to 1 by default.

查看更多
登录 后发表回答