gpt4 book ai didi

java - Apache 紧缩 : how to create custom counters

转载 作者:可可西里 更新时间:2023-11-01 15:40:10 25 4
gpt4 key购买 nike

我想添加自定义 counters到我的Apache Crunch使用 org.apache.hadoop.mapreduce.Reducer.Context.getCounter API 的作业。有人知道如何从 Crunch 管道访问上下文吗?

最佳答案

最明显的地方是

org.apache.crunch.DoFn#getCounter

你猜怎么着?它在那里...

关于java - Apache 紧缩 : how to create custom counters,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17287388/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com