HDFS-5959. Merge r1569156 from trunk.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1569162 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3151800acd
commit
2ad9a8d8ff
|
@ -222,6 +222,9 @@ Release 2.4.0 - UNRELEASED
|
||||||
|
|
||||||
HDFS-5847. Consolidate INodeReference into a separate section. (jing9)
|
HDFS-5847. Consolidate INodeReference into a separate section. (jing9)
|
||||||
|
|
||||||
|
HDFS-5959. Fix typo at section name in FSImageFormatProtobuf.java.
|
||||||
|
(Akira Ajisaka via suresh)
|
||||||
|
|
||||||
Release 2.3.1 - UNRELEASED
|
Release 2.3.1 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -235,7 +235,7 @@ public final class FSImageFormatProtobuf {
|
||||||
inodeLoader.loadINodeSection(in);
|
inodeLoader.loadINodeSection(in);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case INODE_REFRENCE:
|
case INODE_REFERENCE:
|
||||||
snapshotLoader.loadINodeReferenceSection(in);
|
snapshotLoader.loadINodeReferenceSection(in);
|
||||||
break;
|
break;
|
||||||
case INODE_DIR:
|
case INODE_DIR:
|
||||||
|
@ -548,7 +548,7 @@ public final class FSImageFormatProtobuf {
|
||||||
NS_INFO("NS_INFO"),
|
NS_INFO("NS_INFO"),
|
||||||
STRING_TABLE("STRING_TABLE"),
|
STRING_TABLE("STRING_TABLE"),
|
||||||
INODE("INODE"),
|
INODE("INODE"),
|
||||||
INODE_REFRENCE("INODE_REFRENCE"),
|
INODE_REFERENCE("INODE_REFERENCE"),
|
||||||
SNAPSHOT("SNAPSHOT"),
|
SNAPSHOT("SNAPSHOT"),
|
||||||
INODE_DIR("INODE_DIR"),
|
INODE_DIR("INODE_DIR"),
|
||||||
FILES_UNDERCONSTRUCTION("FILES_UNDERCONSTRUCTION"),
|
FILES_UNDERCONSTRUCTION("FILES_UNDERCONSTRUCTION"),
|
||||||
|
|
|
@ -383,7 +383,7 @@ public class FSImageFormatPBSnapshot {
|
||||||
INodeReferenceSection.INodeReference.Builder rb = buildINodeReference(ref);
|
INodeReferenceSection.INodeReference.Builder rb = buildINodeReference(ref);
|
||||||
rb.build().writeDelimitedTo(out);
|
rb.build().writeDelimitedTo(out);
|
||||||
}
|
}
|
||||||
parent.commitSection(headers, SectionName.INODE_REFRENCE);
|
parent.commitSection(headers, SectionName.INODE_REFERENCE);
|
||||||
}
|
}
|
||||||
|
|
||||||
private INodeReferenceSection.INodeReference.Builder buildINodeReference(
|
private INodeReferenceSection.INodeReference.Builder buildINodeReference(
|
||||||
|
|
|
@ -115,7 +115,7 @@ final class LsrPBImage {
|
||||||
case INODE:
|
case INODE:
|
||||||
loadINodeSection(is);
|
loadINodeSection(is);
|
||||||
break;
|
break;
|
||||||
case INODE_REFRENCE:
|
case INODE_REFERENCE:
|
||||||
loadINodeReferenceSection(is);
|
loadINodeReferenceSection(is);
|
||||||
break;
|
break;
|
||||||
case INODE_DIR:
|
case INODE_DIR:
|
||||||
|
|
|
@ -113,7 +113,7 @@ public final class PBImageXmlWriter {
|
||||||
case INODE:
|
case INODE:
|
||||||
dumpINodeSection(is);
|
dumpINodeSection(is);
|
||||||
break;
|
break;
|
||||||
case INODE_REFRENCE:
|
case INODE_REFERENCE:
|
||||||
dumpINodeReferenceSection(is);
|
dumpINodeReferenceSection(is);
|
||||||
break;
|
break;
|
||||||
case INODE_DIR:
|
case INODE_DIR:
|
||||||
|
|
Loading…
Reference in New Issue