[
https://issues.apache.org/jira/browse/HBASE-8015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13724110#comment-13724110
]
Francis Liu commented on HBASE-8015:
------------------------------------
{quote}
On 1., you mean existing HFileLinks? They would be to tables in default
namespace?
Can HFileLink be updated to look there and then add namespace in front of
tablename, regioname and filename when creating the name?
{quote}
For migrated tables yes. But for new tables which use NS they could be to new
NS tables so we need to add NS as part of the HFileLink. I've updated the
HFileLink file format to look like <NS>,<TableQualifier>-<...>-<...> it will
also recognize the older file format where '<NS>,' is missing (See
HFileLink.java for more details). Are you suggesting I change it to
<TableQualifier>-<...>-<...>-<NS>?
{quote}
Could use current link separator for added ns? hfilelink already has its own
notion of separator?
{quote}
Yep, currently I'm using ','. I could use '-' instead. So it becomes
<NS>-<TableQualifier>-<...>-<...>?
{quote}
On 2., references are always 'local' to a table – won't be across namespaces?
Where in HFile reference do we reference table name? (I see regionnames and
splitkeys)
{quote}
Sorry I meant the HFileLink Back references, not region split references. I
think it's used for quick reference counting to see if an archived HFile can be
cleaned up or not.
{quote}
3. On snapshot names, yeah, go ahead and make ':' special character (not
allowed in snapshot names)
{quote}
Cool will add the check.
{quote}
So would the above be the only places we'd want to persist a ':' in fs? (In fs
we'd usually ahve table in a ns subdir).
{quote}
Yep, as far as I can tell. I've ran small, medium and large tests, it only had
unrelated failures.
{quote}
What is left to finish would you say?
{quote}
- Add a TableName PB
- Your comments on RB
That's about it.
> Support for Namespaces
> ----------------------
>
> Key: HBASE-8015
> URL: https://issues.apache.org/jira/browse/HBASE-8015
> Project: HBase
> Issue Type: New Feature
> Reporter: Francis Liu
> Assignee: Francis Liu
> Attachments: HBASE-8015_draft_94.patch, Namespace Design.pdf
>
>
--
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