Ozone Debug

Ratis Log Parser

qianmoQqianmoQ· 更新于 2026-09-24· 阅读 2 分钟· 0 次阅读

登录后可跨设备保存划线和私人笔记登录

The Ratis log parser tool takes a segment file as input and gives a human-readable output. It can be used to parse Ratis logs from different components by specifying the corresponding role.

Usage: ozone debug ratis parse [-hV] [--verbose] [--role=<role>] -s=<segmentFile>
Shell for printing Ratis Log in understandable text
  -h, --help          Show this help message and exit.
      --role=<role>   Component role for parsing. Values: om, scm, datanode
                        Default: generic
  -s, --segmentPath, --segment-path=<segmentFile>
                      Path of the segment file
  -V, --version       Print version information and exit.
      --verbose       More verbose output. Show the stack trace of the errors.

Next >>

评论

登录后参与评论

正在加载评论…