[
https://issues.apache.org/jira/browse/HBASE-10807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13943902#comment-13943902
]
Esteban Gutierrez commented on HBASE-10807:
-------------------------------------------
Shame on me. Turns that {{waitForRoot()}} is public but not
{{waitForRoot(timeout)}} even {{waitForMeta()}} and {{waitForMeta(timeout)}}
are public. I don't see any problem changing {{waitForRoot}} to public.
Another option might be to leave {{waitForRoot(timeout)}} as is and do this
instead:
{code}
master.getCatalogTracker().waitForRoot();
ServerName rl = master.getCatalogTracker().getRootLocation();
{code}
> -ROOT- still stale in table.jsp if it moved
> -------------------------------------------
>
> Key: HBASE-10807
> URL: https://issues.apache.org/jira/browse/HBASE-10807
> Project: HBase
> Issue Type: Bug
> Affects Versions: 0.94.0, 0.94.17
> Reporter: Esteban Gutierrez
> Assignee: Esteban Gutierrez
> Fix For: 0.94.19
>
> Attachments: HBASE-10807.v0-0.94.txt
>
>
> If {{\-ROOT-}} moves we will get a stale location in {{table.jsp}}, we fixed
> partially on HBASE-6347 by doing {{waitForMeta}} to track {{.META.}} but not
> for {{\-ROOT-}} by using {{waitForRoot}}.
--
This message was sent by Atlassian JIRA
(v6.2#6252)