In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
Https://issues.apache.org/jira/browse/HIVE-2340
Select userid,count (*) from u_data group by userid order by userid will product MRR.
I think when the result of userid,count (*) is small (one reduce can process the result). This query plan can optimize to MR?
To prevent bad reducer merging, the reducer merging only kicks in when the
Optimizer thinks it gets a perf boost.
MR-> MRR is not a big win when it comes Tez, due to container-reuse-
Going wide on the large cardinality in case of missing map-side
Aggregation will be safer.
If hive.map.aggr=true and the userid set fits within memory, then smushing
The reducers would be nicer.
To reset the wide-narrow checks, do
Set hive.optimize.reducededuplication.min.reducer=1
But be aware that it will fail (I1ve seen full disks) as you scale upwards
To the 10 + Tb cases.
Cheers
Gopal
Hive.optimize.reducededuplication.min.reducer
Default Value: 4
Added In: Hive 0.11.0 with HIVE-2340
Reduce deduplication merges two RSs (reduce sink operators) by moving key/parts/reducer-num of the child RS to parent RS. That means if reducer-num of the child RS is fixed (order by or forced bucketing) and small, it can make very slow, single MR. The optimization will be disabled if number of reducers is less than specified value.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.