Skip to content

HBASE-30283 list_labels shell command should return readable labels#8461

Open
liuxiaocs7 wants to merge 2 commits into
apache:masterfrom
liuxiaocs7:HBASE-30283
Open

HBASE-30283 list_labels shell command should return readable labels#8461
liuxiaocs7 wants to merge 2 commits into
apache:masterfrom
liuxiaocs7:HBASE-30283

Conversation

@liuxiaocs7

@liuxiaocs7 liuxiaocs7 commented Jul 9, 2026

Copy link
Copy Markdown
Member

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the HBase Shell list_labels command so that it returns visibility labels in a human-readable form (Ruby strings) rather than returning the underlying Java/protobuf objects, improving usability for scripting and interactive use.

Changes:

  • Convert each returned label to a readable string once, print it, and collect it.
  • Return an Array<String> of labels from the command instead of the raw Java/protobuf list.

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

Comment thread hbase-shell/src/main/ruby/shell/commands/list_labels.rb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants