Skip to content

HBASE-26962 Add mob info in web UI (#4359)#8241

Open
liuxiaocs7 wants to merge 1 commit into
apache:branch-2from
liuxiaocs7:HBASE-26962-branch-2
Open

HBASE-26962 Add mob info in web UI (#4359)#8241
liuxiaocs7 wants to merge 1 commit into
apache:branch-2from
liuxiaocs7:HBASE-26962-branch-2

Conversation

@liuxiaocs7
Copy link
Copy Markdown
Member

@liuxiaocs7 liuxiaocs7 commented May 15, 2026

  create 'ui_mob_verify',
    {NAME => 'f1'},
    {NAME => 'f2', IS_MOB => true, MOB_THRESHOLD => 1}

  describe 'ui_mob_verify'

  put 'ui_mob_verify', 'r1', 'f1:q1', 'normal-data-001'
  put 'ui_mob_verify', 'r1', 'f2:q1', 'mob-data-001'
  put 'ui_mob_verify', 'r2', 'f1:q1', 'normal-data-002'
  put 'ui_mob_verify', 'r2', 'f2:q1', 'mob-data-002'

  flush 'ui_mob_verify'

  scan 'ui_mob_verify', {COLUMNS => ['f1:q1', 'f2:q1']}
image image

Signed-off-by: Duo Zhang <zhangduo@apache.org>
@liuxiaocs7 liuxiaocs7 requested a review from Copilot May 15, 2026 12:40
@liuxiaocs7 liuxiaocs7 added the backport This PR is a back port of some issue or issues already committed to master label May 15, 2026
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Cherry-pick of HBASE-26962 that surfaces MOB file information on the regionserver per-region web UI page. For mob-enabled column families, the region.jsp page now lists the MOB files referenced by each store file with their size and modification time, and links each to the existing storeFile.jsp viewer.

Changes:

  • Adds new imports needed for filesystem, MOB utilities, and URL encoding.
  • After the existing Store Files table, when the store is an HMobStore, iterates each store file's MOB_FILE_REFS metadata and renders a new "MOB Files" table.
  • Wraps the mob-file lookup in a try/catch that prints the exception text into the table on errors.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@liuxiaocs7 liuxiaocs7 requested review from Apache9 and PDavid May 15, 2026 12:44
Copy link
Copy Markdown
Contributor

@PDavid PDavid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a back port of some issue or issues already committed to master

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants