1
我想使用org.apache.hadoop.mapreduce.Reducer.Context.getCounter API將自定義counters添加到我的Apache Crunch作業中。有人知道如何從Crunch管道訪問上下文嗎?Apache Crunch:如何創建自定義計數器
我想使用org.apache.hadoop.mapreduce.Reducer.Context.getCounter API將自定義counters添加到我的Apache Crunch作業中。有人知道如何從Crunch管道訪問上下文嗎?Apache Crunch:如何創建自定義計數器
看起來會
org.apache.crunch.DoFn#getCounter
和猜測什麼明顯的地方?它在那裏...