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

Dave Marion commented on ACCUMULO-1832:
---------------------------------------

I like the idea of using a prefix (see [1]) instead of full URL. If there were 
a mapping of prefix to namenode address in the configuration, would that make 
rename operations simpler? It's like viewfs to some degree, but I think it 
allows greater flexibility in the long run as viewfs is limited to directories. 
In another release when we have a pluggable file placement strategy, then we 
could add weights or priority to the different prefixes.


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

> 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)

Reply via email to