Uma Maheswara Rao G created HDFS-10555:
------------------------------------------
Summary: Unable to loadFSEdits due to a failure in
readCachePoolInfo
Key: HDFS-10555
URL: https://issues.apache.org/jira/browse/HDFS-10555
Project: Hadoop HDFS
Issue Type: Bug
Components: namenode
Reporter: Uma Maheswara Rao G
Assignee: Uma Maheswara Rao G
Priority: Critical
Recently some tests are failing and unable to loadFSEdits due to a failure in
readCachePoolInfo.
Here in below code
FSImageSerialization.java
{code}
}
if ((flags & ~0x2F) != 0) {
throw new IOException("Unknown flag in CachePoolInfo: " + flags);
}
{code}
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
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]