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

Rakesh R commented on BOOKKEEPER-629:
-------------------------------------

Sorry [~fpj] for the late reply. Thank you for looking into this.

bq. but I was wondering if it wouldn't be best to recreate the znode instead of 
inverting the value of the parameter. It may be a bit counterintuitive

With the current approach, we are inverting the configuration to return 
previous value of #getBookieAddress(). Otw it would return hostname(say 
previously I've created with IP), will this be backward compatible ?

I was thinking that, will do the "bookie id" changes using the admin tool. It 
need to design an admin tool in such a way to update the metadata of,
- ledger node
- cookie node
- available node
- underreplicated node

Does this sound good to you ?

> Support hostname based ledger metadata to help users to change IP with 
> existing installation
> --------------------------------------------------------------------------------------------
>
>                 Key: BOOKKEEPER-629
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-629
>             Project: Bookkeeper
>          Issue Type: Sub-task
>          Components: bookkeeper-auto-recovery, bookkeeper-client, 
> bookkeeper-server
>    Affects Versions: 4.2.1
>            Reporter: Vinayakumar B
>            Assignee: Rakesh R
>             Fix For: 4.3.0
>
>         Attachments: 1-BOOKKEEPER-629.patch, 10-BOOKKEEPER-629.patch, 
> 11-BOOKKEEPER-629.patch, 2-BOOKKEEPER-629.patch, 3-BOOKKEEPER-629.patch, 
> 4-BOOKKEEPER-629.patch, 5-BOOKKEEPER-629.patch, 6-BOOKKEEPER-629.patch, 
> 7-BOOKKEEPER-629.patch, 9-BOOKKEEPER-629.patch
>
>
> Register the bookie with *hostname:port* and also store the bookie addresses 
> as *hostname:port* in ledger metadata files instead of *ip:port*
> This will help users to change the machine IP if they want without loosing 
> their data.
> Supporting hostname based installation/functionality is one of the important 
> requirement of users.
> Any thoughts?



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to