[ https://issues.apache.org/jira/browse/BOOKKEEPER-1099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16061513#comment-16061513 ]
Zhimeng Shi commented on BOOKKEEPER-1099: ----------------------------------------- The problem is we don't have the script to create the directory. Each time deploy to new machine we need manually call the bookie format command to create the folders (also in one box test). Although I want to make it work on the deployment script, it need read the configure file to know the folder name, and we also start support different config value for different cluster, which need more logic to parse the config file. That's why I want to add this logic into the code rather than script to parse the config again. I think there is nothing wrong with either way, it's just preference. I like to make thing simpler, which can also benefit one box case and container case. And adding a InitFolder function will not hurt anything, but I can understand your preferred way to mount disk too. Software and programming is so flexible, so in this case I will respect owner's decision. I'll discuss with JV with the final solution. > 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)