[
https://issues.apache.org/jira/browse/HBASE-30283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xiao Liu updated HBASE-30283:
-----------------------------
Priority: Minor (was: Major)
> list_labels shell command should return readable labels
> -------------------------------------------------------
>
> Key: HBASE-30283
> URL: https://issues.apache.org/jira/browse/HBASE-30283
> Project: HBase
> Issue Type: Improvement
> Components: shell
> Reporter: Xiao Liu
> Assignee: Xiao Liu
> Priority: Minor
> Labels: pull-request-available
> Fix For: 3.0.0, 2.7.0, 2.5.16, 2.6.7
>
>
> Running {{list\_labels}} in the hbase shell echoes the raw protobuf return
> value, e.g.:
> {code:language=bash|borderStyle=solid|theme=RDark|linenumbers=true|collapse=false}
> hbase:004:0> list_labels
> A
> B
> Took 0.0105 seconds
> => #<Java::OrgApacheHbaseThirdpartyComGoogleProtobuf::ProtobufArrayList:
> [#<Java::OrgApacheHbaseThirdpartyComGoogleProtobuf::ByteString::LiteralByteString:0x4204c372>,
>
> #<Java::OrgApacheHbaseThirdpartyComGoogleProtobuf::ByteString::LiteralByteString:0x13eb7283>]>
> {code}
> Found while working on HBASE-30266, with this patch:
> {code:language=bash|borderStyle=solid|theme=RDark|linenumbers=true|collapse=false}
> hbase:001:0> list_labels
> A
> B
> Took 0.4680 seconds
> => ["A", "B"]
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)