HDFS-5959. Fix typo at section name in FSImageFormatProtobuf.java. Contributed by Akira Ajisaka.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1569156 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2c7dfa29bd
commit
bf5971b86a
@ -472,6 +472,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 int compare(FileSummary.Section s1, FileSummary.Section s2) {
|
|||||||
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 enum SectionName {
|
|||||||
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 void serializeINodeReferenceSection(OutputStream out)
|
|||||||
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 @@ public int compare(FileSummary.Section s1, FileSummary.Section s2) {
|
|||||||
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 int compare(FileSummary.Section s1, FileSummary.Section s2) {
|
|||||||
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
Block a user