如何运行/激活这样的脚本来同时启动所有减速器?
`SELECT id, map(
'r02', string(PERCENT_RANK() OVER (ORDER BY maps['k02']))
, 'r03', string(PERCENT_RANK() OVER (ORDER BY maps['k03']))
, 'r04', string(PERCENT_RANK() OVER (ORDER BY maps['k04']))
, 'r06', string(PERCENT_RANK() OVER (ORDER BY maps['k06']))
, 'r09', string(PERCENT_RANK() OVER (ORDER BY maps['k09']))
, 'r10', string(PERCENT_RANK() OVER (ORDER BY maps['k10']))
, 'r11', string(PERCENT_RANK() OVER (ORDER BY maps['k11'])))
FROM database
Map完成后,似乎一次只运行一个减速器
INFO : Map 1: 3/3 Reducer 2: 1(+1)/2 Reducer 3: 0/2 Reducer 4: 0/2 Reducer 5: 0/2 Reducer 6: 0/2 Reducer 7: 0/2Reducer 8: 0/2
INFO : Map 1: 3/3 Reducer 2: 2/2 Reducer 3: 1(+1)/2 Reducer 4: 0/2 Reducer 5: 0/2 Reducer 6: 0/2 Reducer 7: 0/2Reducer 8: 0/2
如何更改脚本以使所有减速器并行运行?谢谢大家。
1条答案
按热度按时间6rqinv9w1#
请试一试-