HDFS-5961. OIV cannot load fsimages containing a symbolic link. Contributed by Kihwal Lee.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1569789 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3a7e7b3671
commit
7e8d85ebb3
|
@ -440,6 +440,8 @@ Release 2.4.0 - UNRELEASED
|
||||||
URLConnectionFactory which does not import SSL certificates. (Haohui Mai via
|
URLConnectionFactory which does not import SSL certificates. (Haohui Mai via
|
||||||
jing9)
|
jing9)
|
||||||
|
|
||||||
|
HDFS-5961. OIV cannot load fsimages containing a symbolic link. (kihwal)
|
||||||
|
|
||||||
BREAKDOWN OF HDFS-5698 SUBTASKS AND RELATED JIRAS
|
BREAKDOWN OF HDFS-5698 SUBTASKS AND RELATED JIRAS
|
||||||
|
|
||||||
HDFS-5717. Save FSImage header in protobuf. (Haohui Mai via jing9)
|
HDFS-5717. Save FSImage header in protobuf. (Haohui Mai via jing9)
|
||||||
|
|
|
@ -737,6 +737,7 @@ class ImageLoaderCurrent implements ImageLoader {
|
||||||
processPermission(in, v);
|
processPermission(in, v);
|
||||||
} else if (numBlocks == -2) {
|
} else if (numBlocks == -2) {
|
||||||
v.visit(ImageElement.SYMLINK, Text.readString(in));
|
v.visit(ImageElement.SYMLINK, Text.readString(in));
|
||||||
|
processPermission(in, v);
|
||||||
} else if (numBlocks == -3) { // reference node
|
} else if (numBlocks == -3) { // reference node
|
||||||
final boolean isWithName = in.readBoolean();
|
final boolean isWithName = in.readBoolean();
|
||||||
int snapshotId = in.readInt();
|
int snapshotId = in.readInt();
|
||||||
|
|
Loading…
Reference in New Issue