accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Turner (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-1832) Create utility for rewriting uris
Date Sat, 08 Feb 2014 00:01:21 GMT

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

Keith Turner commented on ACCUMULO-1832:
----------------------------------------

bq. I like the idea of using a prefix (see [1]) instead of full URL.

Me too.  If all paths in accumulo looked the like following, it would simplify a lot of things.
 Volume id could be looked up in zookeeper to get a URI.   In addition to making administrative
operations like rename easier, it would also clean up a lot of code.  Fully qualified URIs
 are not easy to compare, must compare some suffix.   Currently its hard to get these comparisons
right and easy to get them wrong. And if you do get the comparison wrong it may only cause
problems under certain situations (so test would pass, but it could fail for users in strange
ways).   I am concerned about these comparisons being a source of hard to catch bugs moving
forward as code is changed. 

{noformat}
   /<volume id>/<accumulo dir>/tables/<table dir>/<tablet dir>/<tablet
file>
{noformat}


> Create utility for rewriting uris
> ---------------------------------
>
>                 Key: ACCUMULO-1832
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1832
>             Project: Accumulo
>          Issue Type: Sub-task
>          Components: master, tserver
>            Reporter: Keith Turner
>            Assignee: Eric Newton
>            Priority: Blocker
>             Fix For: 1.6.0
>
>
> When a users namenode dies and they restore it on another node Accumulo will not work
since it stores fully qualified uris internally.  Need to a provide a utility to rewrite these
URIs.
> The utility  could rewrite paths in zookeeper, bring root table online and rewrite paths,
bring metadata table online and rewrite, and then allow user tablets to come online.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message