HDFS-10555: Unable to loadFSEdits due to a failure in readCachePoolInfo. Contributed by Uma Maheswara Rao G
This commit is contained in:
parent
6ab5aa1c1f
commit
01643020d2
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue