[ 
https://issues.apache.org/jira/browse/HBASE-626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

stack resolved HBASE-626.
-------------------------

    Resolution: Fixed

Committed.  Thanks for the patch Jean-Daniel (FYI, there is a Bytes.equals for 
comparing two byte arrays rather than convert to String to test for equals).  
Good stuff.

> Use Visitor pattern in MetaRegion to reduce code clones in HTable and 
> HConnectionManager
> ----------------------------------------------------------------------------------------
>
>                 Key: HBASE-626
>                 URL: https://issues.apache.org/jira/browse/HBASE-626
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: master
>            Reporter: Jean-Daniel Cryans
>            Assignee: Jean-Daniel Cryans
>            Priority: Minor
>             Fix For: 0.2.0
>
>         Attachments: hbase-626-v1.patch, hbase-626-v2.patch, 
> hbase-626-v3.patch
>
>
> HTable and HConnectionManager.TableServers both scan the meta region in the 
> same way (but the later also retry one time if it fails). A Visitor pattern 
> should be used in a new scanning method in MetaRegion to accept visitors that 
> gather information such as region names for a table or the list of all tables.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to