Support Questions
Find answers, ask questions, and share your expertise

What stores clusterID, namespaceID, and blockpoolID?

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

@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

@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/

Contributor

Thanks, @Sandeep Nemuri

That reference link is also helpful!

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?

; ;