[
https://issues.apache.org/jira/browse/HDFS-1365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12905166#action_12905166
]
Tanping Wang commented on HDFS-1365:
------------------------------------
ClusterID identifies each cluster. It has to be unique during the life time of
the cluster. We propose to use java.util.UUID to generate ClusterID,
A block pool, identified by its BlockPoolID belongs to a single namespace.
BlockPoolID is a unique ID across all clusters. When a new namespace is created
(as part of the format operation of a NN) a unique id is generated and stored
persistently by the namenodes. We are proposing using the following format for
BlockPoolID:
"BP-" + RAND +"="+ip + namenode.getPort() + "-"+System.currentTimeMillis();
(We borrowed the similar format of DN's storageID).
We plan to introduce two new classes, ClusterID and BlockPoolID. Both extends
writable.
> HDFS federation: propose ClusterID and BlockPoolID format
> ---------------------------------------------------------
>
> Key: HDFS-1365
> URL: https://issues.apache.org/jira/browse/HDFS-1365
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: Tanping Wang
> Assignee: Tanping Wang
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.