accumulo-notifications mailing list archives

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


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. 

   /<volume id>/<accumulo dir>/tables/<table dir>/<tablet dir>/<tablet

> Create utility for rewriting uris
> ---------------------------------
>                 Key: ACCUMULO-1832
>                 URL:
>             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
> 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

View raw message