[
https://issues.apache.org/jira/browse/HBASE-6782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13552793#comment-13552793
]
Viji commented on HBASE-6782:
-----------------------------
Before: The status 'detailed' command was not escaping the unprintable
characters.
{quote}0 regionsInTransition
master coprocessors: []
1 live servers
192.168.1.2:51553 1358171355030
requestsPerSecond=0.0, numberOfOnlineRegions=5, usedHeapMB=44,
maxHeapMB=987, numberOfStores=5, numberOfStorefiles=4,
storefileUncompressedSizeMB=0, storefileSizeMB=0, memstoreSizeMB=0,
storefileIndexSizeMB=0, readRequestsCount=1245, writeRequestsCount=525,
rootIndexSizeKB=0, totalStaticIndexSizeKB=0, totalStaticBloomSizeKB=0,
totalCompactingKVs=846, currentCompactedKVs=505,
compactionProgressPct=0.5969267, coprocessors=[]
-ROOT-,,0
org.apache.hadoop.hbase.RegionLoad@7f8a8bfa
.META.,,1
org.apache.hadoop.hbase.RegionLoad@418bdc7a
table,�,1358172775828.dc06acbbd50c7c93c3d4ac9f8ee0994f.
org.apache.hadoop.hbase.RegionLoad@7399f9eb
table,,1358172775828.a5382543115816b6ffe92b0a308df9ca.
org.apache.hadoop.hbase.RegionLoad@55264c84
table,row250,1358172438894.f9712059227117f751c422932d38f26b.
org.apache.hadoop.hbase.RegionLoad@6c408893
0 dead servers{quote}
After: Added a .dump so that unprintable characters will be printed in escaped
form.
{quote}0 regionsInTransition
master coprocessors: []
1 live servers
192.168.1.2:51553 1358171355030
requestsPerSecond=0.0, numberOfOnlineRegions=5, usedHeapMB=41,
maxHeapMB=987, numberOfStores=5, numberOfStorefiles=4,
storefileUncompressedSizeMB=0, storefileSizeMB=0, memstoreSizeMB=0,
storefileIndexSizeMB=0, readRequestsCount=1261, writeRequestsCount=525,
rootIndexSizeKB=0, totalStaticIndexSizeKB=0, totalStaticBloomSizeKB=0,
totalCompactingKVs=846, currentCompactedKVs=505,
compactionProgressPct=0.5969267, coprocessors=[]
"-ROOT-,,0"
org.apache.hadoop.hbase.RegionLoad@19e7ce87
".META.,,1"
org.apache.hadoop.hbase.RegionLoad@450ae3fb
"table,\000\001\017\357\277\275,1358172775828.dc06acbbd50c7c93c3d4ac9f8ee0994f."
org.apache.hadoop.hbase.RegionLoad@49ac272
"table,,1358172775828.a5382543115816b6ffe92b0a308df9ca."
org.apache.hadoop.hbase.RegionLoad@5337e216
"table,row250,1358172438894.f9712059227117f751c422932d38f26b."
org.apache.hadoop.hbase.RegionLoad@417d26fc
0 dead servers
{quote}
> HBase shell's 'status 'detailed'' should escape the printed keys
> ----------------------------------------------------------------
>
> Key: HBASE-6782
> URL: https://issues.apache.org/jira/browse/HBASE-6782
> Project: HBase
> Issue Type: Bug
> Components: shell
> Affects Versions: 0.90.1
> Reporter: Viji
> Priority: Minor
> Attachments: HBASE-6782.patch
>
>
> Currently the HBase shell's status command prints unescaped keys on the
> terminal causing the terminal to print garbage characters. We should escape
> the printed keys.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira