hadoop - 有没有办法在为纱线构建的 giraph 中激活 Giraph Stats?
问题描述
似乎 Giraph Stas 仅使用 map-reduce (使用 -Phadoop2 mvn 配置文件构建的 giraph-1.3.0-snapshot )写入日志。
有没有办法使用纱线在日志中激活 Giraph Stats(使用 -Phadoop_yarn mvn 配置文件构建的 giraph-1.3.0-snapshot)?
遵循 Giraph Stats 的示例。
2018-09-08 16:03:01,604 INFO org.apache.hadoop.mapreduce.Job: Counters: 42
File System Counters
FILE: Number of bytes read=74623213
FILE: Number of bytes written=75518013
FILE: Number of read operations=0
FILE: Number of large read operations=0
FILE: Number of write operations=0
Map-Reduce Framework
Map input records=1
Map output records=0
Input split bytes=44
Spilled Records=0
Failed Shuffles=0
Merged Map outputs=0
GC time elapsed (ms)=100
CPU time spent (ms)=0
Physical memory (bytes) snapshot=0
Virtual memory (bytes) snapshot=0
Total committed heap usage (bytes)=3087007744
Giraph Stats
Aggregate bytes loaded from local disks (out-of-core)=0
Aggregate bytes stored to local disks (out-of-core)=0
Aggregate edges=12
Aggregate finished vertices=0
Aggregate sent message bytes=3154
Aggregate sent messages=24
Aggregate vertices=5
Current master task partition=0
Current workers=1
Last checkpointed superstep=0
Lowest percentage of graph in memory so far (out-of-core)=100
Sent message bytes=1701
Sent messages=12
Superstep=2
Giraph Timers
Initialize (ms)=653
Input superstep (ms)=599
Setup (ms)=58
Shutdown (ms)=8967
Superstep 0 Worker_Superstep0 (ms)=295
Superstep 1 Worker_Superstep1 (ms)=605
Total (ms)=10538
Zookeeper base path
/_hadoopBsp/job_local881103217_0001=0
Zookeeper halt node
/_hadoopBsp/job_local881103217_0001/_haltComputation=0
Zookeeper server:port
cri:22181=0
File Input Format Counters
Bytes Read=0
File Output Format Counters
Bytes Written=0
解决方案
推荐阅读
- python - 如何在我的 django 项目中加载 jumbotron 背景中的图像?
- javascript - 使用来自 Spring 后端的 JSON 数据使用 Ajax XMLHttpRequest() 填充表
- javascript - 是否可以从 MessageEmbed 计算 .addFields() 中有多少字段?
- node.js - 使用 API 获取在 Google Drive 中我的文件夹中创建的所有文件和文件夹的所有权
- python-3.x - 如何使变量等于从 tkinter 中的输入字段接收到的输入?
- typescript - 基于构造函数可选参数的方法返回的类型
- javascript - 为什么 React Native 组件不会在状态更改时重新渲染
- reactjs - 为什么文件上传表单上formik的值对象内的文件对象为空?
- mongodb - Spring Boot 控制器防止在 mongodb 中快速连续请求时多次插入
- amazon-web-services - 我们可以将只有私有 IP 的 AWS ec2 实例与另一个具有公共 IP 的 ec2 实例连接起来吗?从腻子