You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Michael Stack (Jira)" <ji...@apache.org> on 2020/03/11 23:39:00 UTC
[jira] [Commented] (HBASE-23929) Shell formatter for for meta table
should pretty-print values of info:merge columns
[ https://issues.apache.org/jira/browse/HBASE-23929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17057473#comment-17057473 ]
Michael Stack commented on HBASE-23929:
---------------------------------------
Fix is miniscule. We do the 'right thing' for a bunch of other types.... just need to add 'info:merge' to the list. Here is how it looks (row before has a split...)
{code}
...
TestTable,,1583969534207.c4350501c823e978d8c17cedddcb4538. column=info:splitA, timestamp=2020-03-11T23:32:21.397Z, value={ENCODED => 61d229ff78f8ad48782af4d5e0ffd5ca, NAME => 'TestTable,,1583969540967.61d229ff78f8ad48782af4d5e0ffd5ca.', STARTKEY => '', ENDKEY => '000000000
00000000000299441'}
TestTable,,1583969534207.c4350501c823e978d8c17cedddcb4538. column=info:splitB, timestamp=2020-03-11T23:32:21.397Z, value={ENCODED => cd86e62bdce3ec5e05133175332e37be, NAME => 'TestTable,00000000000000000000299441,1583969540967.cd86e62bdce3ec5e05133175332e37be.', STARTKEY =
> '00000000000000000000299441', ENDKEY => ''}
TestTable,,1583969534207.c4350501c823e978d8c17cedddcb4538. column=info:state, timestamp=2020-03-11T23:32:21.335Z, value=CLOSED
TestTable,,1583969540968.3eaeda0588ec2b856b3d777683faf3c9. column=info:merge0000, timestamp=2020-03-11T23:35:37.435Z, value={ENCODED => 61d229ff78f8ad48782af4d5e0ffd5ca, NAME => 'TestTable,,1583969540967.61d229ff78f8ad48782af4d5e0ffd5ca.', STARTKEY => '', ENDKEY => '000000
00000000000000299441'}
TestTable,,1583969540968.3eaeda0588ec2b856b3d777683faf3c9. column=info:merge0001, timestamp=2020-03-11T23:35:37.435Z, value={ENCODED => cd86e62bdce3ec5e05133175332e37be, NAME => 'TestTable,00000000000000000000299441,1583969540967.cd86e62bdce3ec5e05133175332e37be.', STARTKE
Y => '00000000000000000000299441', ENDKEY => ''}
...
{code}
> Shell formatter for for meta table should pretty-print values of info:merge columns
> -----------------------------------------------------------------------------------
>
> Key: HBASE-23929
> URL: https://issues.apache.org/jira/browse/HBASE-23929
> Project: HBase
> Issue Type: Improvement
> Components: shell, Usability
> Affects Versions: 2.3.0
> Reporter: Nick Dimiduk
> Priority: Minor
>
> Diagnosing mangled region assignments, scanning meta from the shell, we see regions with {{info:merge000X}} cells, but their values are printed as encoded protobuf. We should have a {{Formatter}} in place that can decode these values into something legible for a human.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)