Encode namespace identification info in image and edits headers
---------------------------------------------------------------
Key: HDFS-2032
URL: https://issues.apache.org/jira/browse/HDFS-2032
Project: Hadoop HDFS
Issue Type: Improvement
Components: name-node
Affects Versions: Edit log branch (HDFS-1073), 0.23.0
Reporter: Todd Lipcon
In HDFS-2026, Sanjay suggested that we add the namespaceID and clusterID as
part of the header information in image and edits files. We can then verify
that the namespace info matches the VERSION info before loading any such file.
This would prevent any accidental mixing of transactions between two clusters
(either by virtue of HDFS bugs or by operational mistakes).
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira