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

Uma Maheswara Rao G commented on BOOKKEEPER-300:
------------------------------------------------

Check the similar discussion about DN format in HDFS. HDFS-107. 
If you see, DN also can not start, if you format namenode due to incompatible 
namespace IDs. In that case, Admins carefully, have to clean their storage 
directories.
We have decided that just have to provide the automation script to delete the 
storage directories. 

Now, by looking at your patch, you are doing both the jobs in format. Actually 
metadata formation is not required to do in all the nodes. That will be just 
one time job if I understand your idea correctly. In one node, you will create 
metadata directories and from other nodes again you will recreate them and 
continue the same in remaining nodes? 

Do we need to separate this jobs cleanly? Otherwise someone need to give the 
metadata format confirmation for first node and should skip for remaining. This 
may not quit correct right?

{quote}
leaving other nodes ( cookies, LAYOOUT ) as it is
{quote}
Sijie can give thoughts on this. 

I guess LAYOUT files may contain some version related stuff as well. So, take a 
case, I have formatted the cluster and installed the newer version of BKs and 
trying to start the cluster. Then we may get incompatible format issues because 
LAYOUT may have older version related stuff right? Since I have formatted 
cluster, I should not have any active info which is related to older. 

Hi All, could you also please participate in the discussion for better ideas?
                
> Create Bookie format command
> ----------------------------
>
>                 Key: BOOKKEEPER-300
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-300
>             Project: Bookkeeper
>          Issue Type: New Feature
>          Components: bookkeeper-server
>    Affects Versions: 4.1.0
>            Reporter: Rakesh R
>         Attachments: BOOKKEEPER-300.patch
>
>
> Provide a bookie format command. Then the admin would just have to run the 
> command on each machine, which will prepare the bookie env
> +Zookeeper paths (znodes):+
> - ledger's root path
> - bookie's available path
> +Directories:+
> - Journal directories
> - Ledger directories

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to