huawei-cloud-mrs-hdfs-performance-issue-analysis

huawei-cloud-mrs-hdfs-performance-issue-analysis is a skill for Claude Code, Codex from huaweicloud/huaweicloud-skills. It costs 243 tokens per session (7,658 once invoked), scanned A, original, MIT.

A diagnostic guide for finding the causes of slow or failing HDFS operations in Huawei Cloud MRS clusters. HDFS is the distributed file system used to store data across a cluster.

In plain words
What is it for?
It helps investigate slow or timed-out reads and writes, high NameNode request latency, service-unavailable alarms, and generally degraded HDFS performance using cluster logs and metrics.
Why use it?
It gives the agent a staged way to check alarms, inspect basic health, and analyze logs instead of searching all logs at once. It also creates trend charts to help relate performance changes to possible causes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is sh /opt/client/HDFS/hadoop/sbin/start-balancer.sh -threshold 10.

Good fit It helps investigate slow or timed-out reads and writes, high NameNode request latency, service-unavailable alarms, and generally degraded HDFS performance using cluster logs and metrics.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/huaweicloud/huaweicloud-skills
agentmods
npx agentmods add skills/huaweicloud/huaweicloud-skills/huawei-cloud-mrs-hdfs-performance-issue-analysis

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for huawei-cloud-mrs-hdfs-performance-issue-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-skills/huawei-cloud-mrs-hdfs-performance-issue-analysis/github.svg)](https://agentmods.dev/skills/huaweicloud/huaweicloud-skills/huawei-cloud-mrs-hdfs-performance-issue-analysis)
Your own site
<a href="https://agentmods.dev/skills/huaweicloud/huaweicloud-skills/huawei-cloud-mrs-hdfs-performance-issue-analysis"><img src="https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-skills/huawei-cloud-mrs-hdfs-performance-issue-analysis/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for huawei-cloud-mrs-hdfs-performance-issue-analysis

Your own site · 80×15
<a href="https://agentmods.dev/skills/huaweicloud/huaweicloud-skills/huawei-cloud-mrs-hdfs-performance-issue-analysis"><img src="https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-skills/huawei-cloud-mrs-hdfs-performance-issue-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 243 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,658 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00243 $0.07658
Opus 5.5 $0.00097 $0.03063
Sonnet 5.5 $0.00049 $0.01532
Haiku 4.5 $0.00024 $0.00766

Measured 29d ago against content hash 6be261d84ddd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

huawei-cloud-mrs-hdfs-performance-issue-analysis scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 29d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/hdfs_perf_analyze.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/bigdata/mrs/huawei-cloud-mrs-hdfs-performance-issue-analysis/SKILL.md · 558 lines

How it starts

The opening of the file, as written. The whole thing — 558 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Huawei Cloud MRS HDFS Performance Issue Analysis Skill

You are an MRS HDFS performance issue analysis expert, responsible for locating root causes of HDFS performance problems on Huawei FusionInsight HD / MRS clusters. You drive analysis through a three-stage progressive pipeline (alarm confirmation -> quick check -> log deep analysis) and use the built-in Python analyzer to auto-generate trend charts and correlate metrics.

1. Overview

Architecture: Caller (Agent) -> scripts/hdfs_perf_analyze.py (Python, standard library only) -> local log files (omaplugin / namenode / audit / TopUser); three-stage pipeline drives the diagnosis flow; four correlation modes map RPC elevation to root cause.

Note on language: This SKILL.md is written in English per the repository spec. Commands, log paths, and code blocks are English throughout; Chinese alarm names and trigger words are kept verbatim for accuracy.

Applicable Scenarios:

  • HDFS write slowness or write timeout
  • HDFS read slowness or read timeout
  • HDFS overall performance degradation, RPC latency
  • Client HDFS operations slow, business running slow
  • NameNode RPC surge
  • HDFS service unavailable alarms
  • NameNode GC time / heap memory / RPC threshold alarms (ALM-14006 / ALM-14007 / ALM-14014 / ALM-14015 / ALM-14021 / ALM-14022)

Typical Use Cases:

  • "HDFS 写入慢,帮忙定位"
  • "NameNode RPC 冲高,ALM-14021 告警"
  • "HDFS 性能变慢,提供日志分析"
  • "NameNode RPC 处理时间超过阈值"
  • "HDFS 读取超时"

Performance Issue Categories (4 root cause modes):

Mode Name Judgment Method Root Cause
MODE01 Large write volume RPC elevated + Blocks Total rises synchronously Large write operations (create/addBlock) drive RPC up
MODE02 Business operations surge RPC elevated + total operations rise synchronously (ops chart confirms the specific op type) Business-side operation volume increases RPC
MODE03 Balance / stop instance / large delete RPC elevated + pending deletion / under-replicated / excess blocks rise Balance, stop-instance, or large delete operations drive RPC up
MODE04 NameNode node performance insufficient RPC elevated + disk IO rises or Block Report processing time increases NameNode node itself has insufficient performance (disk IO, CPU, load, power-saving mode)

Read the full file on GitHub · 558 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 29d ago First seen · 558 lines · 243 tokens per session scan A 6be261d84ddd

Subscribe to this mod's changes

huawei-cloud-mrs-hdfs-performance-issue-analysis is a skill published in the GitHub repository huaweicloud/huaweicloud-skills (59 stars, last pushed yesterday), licensed MIT. It adds 243 tokens to every session and 7,658 once invoked, about $0.0010 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-29.

Related

Other skills, from other repositories

claude-monitor

Monitor de performance do Claude Code e sistema local. Diagnostica lentidao, mede CPU/RAM/disco, verifica API latency e gera relatorios de saude do sistema.

aboalrejal-ai/skills · 41 tokens

hotpath_init_grafana

Build a Grafana dashboard JSON for a Rust project profiled with hotpath. Writes the dashboard file with context-aware panels (SQL and HTTP time per route, N+1 detection, memory and time per request, channel queues, lock contention, Tokio workers, per-thread CPU and allocations, profiling overhead) limited to what the…

pawurb/hotpath-rs · 109 tokens

hotpath_init

Configure hotpath profiling in a Rust project. Adds the hotpath dependency with feature-gated setup, instruments main with hotpath::main, functions with measure/measureall, and wraps channels, mutexes, rwlocks, streams, futures, reqwest clients, axum routers and byte-level I/O with hotpath macros. Use when the user…

pawurb/hotpath-rs · 88 tokens

hotpath_cloud

Read hotpath Cloud performance verdicts with the hotpath cloud CLI and fix Rust performance regressions. Fetches the benchmark report of a commit or pull request, compares it with its baseline under the repository's regression policy and performance budgets, and lists what regressed and which budgets broke, as JSON.…

pawurb/hotpath-rs · 110 tokens

hotpath_bump

Bump the hotpath version number across the workspace and related files. Updates the versions of all six published crates (drain included) in Cargo.toml files (exact patch version), version references in the backend middleware, hotpathinit skill, and README (major.minor only), and the relay workflow release tag pins…

pawurb/hotpath-rs · 99 tokens

syncmeta

Sync changes from the hotpath, hotpath-macros and hotpath-drain crates to their meta counterparts (hotpath-meta, hotpath-macros-meta and hotpath-drain-meta). Use when meta crates need to be updated with recent changes.

pawurb/hotpath-rs · 55 tokens