[
https://issues.apache.org/jira/browse/BOOKKEEPER-1099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16058847#comment-16058847
]
Enrico Olivelli edited comment on BOOKKEEPER-1099 at 6/22/17 6:40 AM:
----------------------------------------------------------------------
I have always run Bookies in "embedded" mode, that is to run the bookie inside
a JVM launched not but the standard shell script, and my usual start up
procedure include a call to the Bookie format function.
It is already smart enough to leave the disk "as it is" if the layout is
correct.
I think it would be good to add a bookie configuration option to run
{code:java}
BookKeeperAdmin.format(config, false, false)
{code}
This change is small, and I think it will simply the "docker" image too
If my proposal is OK I can file a PR or a BP and include it in 4.5.0
was (Author: eolivelli):
I have always run Bookies in "embedded" mode, that is to run the bookie inside
a JVM launched not but the standard shell script, and my usual start up
procedure include a call to the Bookie format function.
It is already smart enough to leave the disk "as it is" if the layout is
correct.
I think it would be good to add a bookie configuration option to run
{code:java}
BookKeeperAdmin.format(config, false, false)
{code}
This change is small, and I think it will simply the "docker" image too
If my proposal is OK I can file a PR or a BP
> Make bookie automatically create folders on new machine.
> --------------------------------------------------------
>
> Key: BOOKKEEPER-1099
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-1099
> Project: Bookkeeper
> Issue Type: Improvement
> Components: bookkeeper-server
> Reporter: Zhimeng Shi
> Priority: Minor
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> When bookie start and found it need run bookie format to create folders it
> should do that automatically. That way will make new machine deployment and
> machine replacement process much simpler without manually call the
> bookieformat command.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)