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

Rakesh R commented on BOOKKEEPER-773:
-------------------------------------

Thanks [~fpj] for the comments.
bq.I'm curious to know how often one needs to execute such a command. This is a 
rare command to use, yes? I also don't like such long names for commands, what 
about "bkrename" or "renamebookie"?
Yes, its rare command. Actually we need to rename both (1)ledgers and 
(2)cookies and this will be done separately through two different bk commands. 
I've included the target entity(ledger/cookie) also in the command to become 
more self explanatory. Thats the reason name becomes long.

How about the following, is that fine for you ?
{code}
bkrenameinledger <currentBookieId> <toBookieId>
bkrenameincookie -useHostNameAsBookieID <true|false>
{code}

bq.seems to swap 3 and 4 in this sequence:
Yeah, I'll do it.

> Provide admin tool to rename bookie identifier in Cookies
> ---------------------------------------------------------
>
>                 Key: BOOKKEEPER-773
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-773
>             Project: Bookkeeper
>          Issue Type: Sub-task
>          Components: bookkeeper-server
>            Reporter: Rakesh R
>            Assignee: Rakesh R
>             Fix For: 4.3.0
>
>         Attachments: 001-BOOKKEEPER-773-rename-bookieid-in-cookies.patch, 
> 002-BOOKKEEPER-773-rename-bookieid-in-cookies.patch, 
> 003-BOOKKEEPER-773-rename-bookieid-in-cookies.patch
>
>
> The idea of this JIRA to implement a mechanism to efficiently rename the 
> bookie identifier present in the Cookies. Cookie information will be present 
> in:
> - ledger & journal directories in each Bookie server
> - cookies znode in ZooKeeper



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

Reply via email to