Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
2.9.0
-
None
-
Reviewed
Description
Recently some tests are failing and unable to loadFSEdits due to a failure in readCachePoolInfo.
Here in below code
FSImageSerialization.java
} if ((flags & ~0x2F) != 0) { throw new IOException("Unknown flag in CachePoolInfo: " + flags); }
When all values of CachePool variable set to true, flags value & ~0x2F turns out to non zero value. So, this condition failing due to the addition of 0x20 and changing &ing value from ~0x1F to ~0x2F.
May be to fix this issue, we may can change multiply value to ~0x3F
Attachments
Attachments
Issue Links
- is broken by
-
HDFS-10328 Add per-cache-pool default replication num configuration
- Resolved