HDFS-10555: Unable to loadFSEdits due to a failure in readCachePoolInfo. Contributed by Uma Maheswara Rao G

This commit is contained in:
Uma Maheswara Rao G 2016-06-22 22:06:13 -07:00
parent 6ab5aa1c1f
commit 01643020d2
1 changed files with 1 additions and 1 deletions

View File

@ -683,7 +683,7 @@ public class FSImageSerialization {
if ((flags & 0x20) != 0) {
info.setDefaultReplication(readShort(in));
}
if ((flags & ~0x2F) != 0) {
if ((flags & ~0x3F) != 0) {
throw new IOException("Unknown flag in CachePoolInfo: " + flags);
}
return info;