HDFS-4819. Update Snapshot doc to clarify that nested snapshots are not allowed.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1492062 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Tsz-wo Sze 2013-06-12 05:43:35 +00:00
parent e75ee47fc9
commit f9186f3ae8
2 changed files with 7 additions and 4 deletions

View File

@ -1075,6 +1075,9 @@ Release 2.1.0-beta - UNRELEASED
HDFS-4873. callGetBlockLocations returns incorrect number of blocks for HDFS-4873. callGetBlockLocations returns incorrect number of blocks for
snapshotted files. (jing9) snapshotted files. (jing9)
HDFS-4819. Update Snapshot doc to clarify that nested snapshots are not
allowed. (szetszwo)
Release 2.0.5-alpha - 06/06/2013 Release 2.0.5-alpha - 06/06/2013
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -70,13 +70,13 @@
the directory can be neither deleted nor renamed the directory can be neither deleted nor renamed
before all the snapshots are deleted. before all the snapshots are deleted.
</p> </p>
<!--
<p> <p>
Nested snapshottable directories are currently not allowed. Nested snapshottable directories are currently not allowed.
In other words, a directory cannot be set to snapshottable In other words, a directory cannot be set to snapshottable
if one of its ancestors is a snapshottable directory. if one of its ancestors/descendants is a snapshottable directory.
</p> </p>
-->
</subsection> </subsection>
<subsection name="Snapshot Paths" id="SnapshotPaths"> <subsection name="Snapshot Paths" id="SnapshotPaths">
@ -100,7 +100,7 @@
<source>hdfs dfs -cp /foo/.snapshot/s0/bar /tmp</source></li> <source>hdfs dfs -cp /foo/.snapshot/s0/bar /tmp</source></li>
</ul> </ul>
<p> <p>
The name ".snapshot" is now a reserved file name in HDFS <b>Note</b> that the name ".snapshot" is now a reserved file name in HDFS
so that users cannot create a file/directory with ".snapshot" as the name. so that users cannot create a file/directory with ".snapshot" as the name.
If ".snapshot" is used in a previous version of HDFS, it must be renamed before upgrade; If ".snapshot" is used in a previous version of HDFS, it must be renamed before upgrade;
otherwise, upgrade will fail. otherwise, upgrade will fail.