我希望在Hive-Tez上运行查询后获得Map-Reduce日志的解释? INFO之后的界限是什么? 这里我附上了一个样本
INFO : Session is already open
INFO : Dag name: SELECT a.Model...)
INFO : Tez session was closed. Reopening...
INFO : Session re-established.
INFO :
INFO : Status: Running (Executing on YARN cluster with App id application_14708112341234_1234)
INFO : Map 1: -/- Map 3: -/- Map 4: -/- Map 7: -/- Reducer 2: 0/15 Reducer 5: 0/26 Reducer 6: 0/13
INFO : Map 1: -/- Map 3: 0/118 Map 4: 0/118 Map 7: 0/1 Reducer 2: 0/15 Reducer 5: 0/26 Reducer 6: 0/13
INFO : Map 1: 0/118 Map 3: 0/118 Map 4: 0/118 Map 7: 0/1 Reducer 2: 0/15 Reducer 5: 0/26 Reducer 6: 0/13
INFO : Map 1: 0/118 Map 3: 0/118 Map 4: 0(+5)/118 Map 7: 0/1 Reducer 2: 0/15 Reducer 5: 0/26 Reducer 6: 0/13
INFO : Map 1: 0/118 Map 3: 0(+5)/118 Map 4: 0(+7)/118 Map 7: 0(+1)/1 Reducer 2: 0/15 Reducer 5: 0/26 Reducer 6: 0/13
INFO : Map 1: 0/118 Map 3: 0(+15)/118 Map 4: 0(+18)/118 Map 7: 0(+1)/1 Reducer 2: 0/15 Reducer 5: 0/26 Reducer 6: 0/13
答案 0 :(得分:6)
您发布的日志是DAG执行日志。 DAG包括 Map 1,Map 3,Map 4,Map 7 mappers vertices and redurs:Reducer 2,Reducer 5,Reducer 6
Map 1: -/-
- 这意味着顶点未初始化,映射器的数量尚未计算。
Map 4: 0(+7)/118
- 这意味着共有118个映射器,其中7个并行运行,0个已完成,118-7 = 111正在等待。
Reducer 2: 0/15
- 这意味着总共有15个减速器,其中0个正在运行,其中0个已完成(15个减速器待定)。
负数(在你的例子中没有这样的数字)=失败或杀死的映射器或减少器的数量
Qubole有关于Tez日志的解释:https://docs.qubole.com/en/latest/user-guide/hive/using-hive-on-tez/hive-tez-tuning.html#understanding-log-pane