Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

What stores clusterID, namespaceID, and blockpoolID?

avatar
Contributor

What stores clusterID, namespaceID, and blockpoolID?

As far as I know...

${dfs.namenode.name.dir}/current/VERSION stores clusterID, namespaceID, and blockpoolID.

${dfs.journalnode.edits.dir}/${nameservice}/current/VERSION stores clusterID and namespaceID.

${dfs.datanode.data.dir}/current/VERSION stores clusterID.

Directory name under ${dfs.datanode.data.dir}/current includes blockpoolID.

${dfs.datanode.data.dir}/current/${blockpoolID}/current/VERSION stores namespaceID and blockpoolID.

Is there any other file or file name/directory name storing those IDs?

1 ACCEPTED SOLUTION

avatar
@Takefumi Oide

The file/directory you mentioned are correct, apart from that i don't think there is any other location/file which has this information. Ref: https://hortonworks.com/blog/hdfs-metadata-directories-explained/

View solution in original post

3 REPLIES 3

avatar
@Takefumi Oide

The file/directory you mentioned are correct, apart from that i don't think there is any other location/file which has this information. Ref: https://hortonworks.com/blog/hdfs-metadata-directories-explained/

avatar
Contributor

Thanks, @Sandeep Nemuri

That reference link is also helpful!

avatar
Explorer

Hi,

I have a question regarding Cluster version.

There are separate nodes for primary and secondary machines, so the cluster version will be same or unique in this scenario?