You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Uma Maheswara Rao G (JIRA)" <ji...@apache.org> on 2016/06/22 00:43:57 UTC

[jira] [Created] (HDFS-10555) Unable to loadFSEdits due to a failure in readCachePoolInfo

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: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org