[ 
https://issues.apache.org/jira/browse/HBASE-9388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13758535#comment-13758535
 ] 

stack commented on HBASE-9388:
------------------------------

The presentation of the info is bound up w/ the composing of the info.  Usually 
you'd want to separate the two getting the info first and then calling a method 
to 'present/format/publish' the collected data.  What if I want to output this 
stuff as xml or as html, I'd have to redo this patch fundamentally rather than 
alter a single method.  What if I want to change the formatting output?  I have 
to go hunt it down in three places -- in the three different routines that are 
doing the printing to change it rather than make changes in one place in one 
method.
                
> [replication] ZK Dump prints the raw PBUF for the HLog positions
> ----------------------------------------------------------------
>
>                 Key: HBASE-9388
>                 URL: https://issues.apache.org/jira/browse/HBASE-9388
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.95.2
>            Reporter: Jean-Daniel Cryans
>            Assignee: Jean-Daniel Cryans
>             Fix For: 0.98.0, 0.96.0
>
>         Attachments: HBase-9388.patch, HBASE-9388.patch, 
> ReplicationZnodesDump.png
>
>
> Looking at the ZK dump in the master's web ui, I can see that we're not 
> trying to parse the positions for the HLogs so it looks like "PBU���"

--
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

Reply via email to