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

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

I was thinking about how user might use the new HA namenode w/ 1.6. and another 
use case for this utility occurred to me.  The following scenario seems like a 
possibility. 

 # User sets up single namnode w/ address http://<dns address>:<port>
 # User runs Accumulo 1.6.0 using this namenode.
 # User replaces single namenode w/ HA namenode w/ address http://<nameservice 
id>
 # User replaces all instances of  http://<dns address>:<port> in Accumulo 
metadata with  http://<nameservice id>

It would be nice if all users just started off w/ HA namenodes, but I suspect 
the above may not be uncommon. If the user does not do step 4 and things just 
happen to still work, then they may not find out they need to do it until a 
namenode failure occurs. 

> 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